

def configure_clp_pex_environment(parser):
    group = OptionGroup(parser, 'PEX environment options', 'Tailor the interpreter and platform targets for the PEX environment.')
    group.add_option('--python', dest='python', default=None, help='The Python interpreter to use to build the pex.  Either specify an explicit path to an interpreter, or specify a binary accessible on $PATH. Default: Use current interpreter.')
    parser.add_option('--python-shebang', dest='python_shebang', default=None, help='The exact shebang (#!...) line to add at the top of the PEX file minus the #!.  This overrides the default behavior, which picks an environment python interpreter compatible with the one used to build the PEX file.')
    group.add_option('--platform', dest='platform', default=Platform.current(), help='The platform for which to build the PEX.  Default: %default')
    group.add_option('--interpreter-cache-dir', dest='interpreter_cache_dir', default='{pex_root}/interpreters', help='The interpreter cache to use for keeping track of interpreter dependencies for the pex tool. [Default: ~/.pex/interpreters]')
    parser.add_option_group(group)

dataset/ETHPy150Open pantsbuild/pex/pex/bin/pex.py configure_clp_pex_environment/VarMisuse@40/143 `group`->`parser`