MCPcopy Index your code
hub / github.com/python/cpython / apple_env

Function apple_env

Platforms/Apple/__main__.py:139–153  ·  view source on GitHub ↗

Construct an Apple development environment for the given host.

(host: str)

Source from the content-addressed store, hash-verified

137
138
139def apple_env(host: str) -> EnvironmentT:
140 """Construct an Apple development environment for the given host."""
141 env = {
142 "PATH": ":".join([
143 str(PYTHON_DIR / "Platforms/Apple/iOS/Resources/bin"),
144 str(subdir(host) / "prefix"),
145 "/usr/bin",
146 "/bin",
147 "/usr/sbin",
148 "/sbin",
149 "/Library/Apple/usr/bin",
150 ]),
151 }
152
153 return env
154
155
156def delete_path(name: str) -> None:

Callers 1

runFunction · 0.85

Calls 3

strFunction · 0.85
subdirFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…