1d65d4aaf0c3ee81cccf5824c0bd34e53e0130d4,src/python/pants/backend/native/subsystems/xcode_cli_tools.py,XCodeCLITools,register_options,#Any#Any#,35
Before Change
def register_options(cls, register):
super(XCodeCLITools, cls).register_options(register)
register("--xcode-cli-install-location", type=dir_option, default="/usr/bin", advanced=True,
help="Installation location for the XCode command-line developer tools.")
@memoized_property
def _install_location(self):
return self.get_options().xcode_cli_install_location
After Change
def register_options(cls, register):
super(XCodeCLITools, cls).register_options(register)
register("--install-prefixes", type=list, default=cls.INSTALL_PREFIXES_DEFAULT,
fingerprint=True, advanced=True,
help="Locations to search for resources from the XCode CLI tools, including a "
"compiler, linker, header files, and some libraries. "
"Under this directory should be some selection of these subdirectories: {}."
.format(cls._REQUIRED_FILES.keys()))
@memoized_property
def _all_existing_install_prefixes(self):
return [pfx for pfx in self.get_options().install_prefixes if is_readable_dir(pfx)]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 1d65d4aaf0c3ee81cccf5824c0bd34e53e0130d4
Time: 2018-07-02
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/backend/native/subsystems/xcode_cli_tools.py
Class Name: XCodeCLITools
Method Name: register_options
Project Name: ilastik/ilastik
Commit Name: 050b110146f3ce8cb3d3a7cb7ef34363fede1edd
Time: 2014-03-04
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/labeling/labelingGui.py
Class Name: LabelingGui
Method Name: _updateLabelShortcuts
Project Name: pantsbuild/pants
Commit Name: c4d964d28871954f2927adc564f2c054027c234f
Time: 2015-09-22
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py
Class Name: JvmCompile
Method Name: register_options