MCPcopy
hub / github.com/pex-tool/pex / _normalize_macosx_deployment_target

Method _normalize_macosx_deployment_target

pex/interpreter.py:162–169  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

160
161 @staticmethod
162 def _normalize_macosx_deployment_target(value):
163 # type: (Any) -> Optional[str]
164
165 # N.B.: Sometimes MACOSX_DEPLOYMENT_TARGET can be configured as a float.
166 # See: https://github.com/pex-tool/pex/issues/1337
167 if value is None:
168 return None
169 return str(value)
170
171 @staticmethod
172 def _site_packages_dirs():

Callers 2

getMethod · 0.80
decodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected