Construct an Apple development environment for the given host.
(host: str)
| 137 | |
| 138 | |
| 139 | def 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 | |
| 156 | def delete_path(name: str) -> None: |