How do I set an environment variable (`MACOSX_DEPL...
# general
g
How do I set an environment variable (
MACOSX_DEPLOYMENT_TARGET
) that is passed to pex when generating a resolve via pants? i.e.
Copy code
pants generate-lockfiles --resolve=my-resolve
Or is it possible to force the running of pex in a docker container?
c
I'm not familar with that particular variable, but to set a static variable for all python processes: https://www.pantsbuild.org/stable/reference/subsystems/subprocess-environment#section-env-vars regrading "run it in docker": https://www.pantsbuild.org/blog/2023/03/28/environments-simpler-multi-platform-workflows