Hi all! Does pex respect the environment variable ...
# general
b
Hi all! Does pex respect the environment variable PYTHONSTARTUP? I want to use it to preload Sentry during execution
f
I don't know offhand. What about this alternate solution? Write a custom entry point script for the pex in question to import Sentry and then call the original intended entry point.
(and, if you want, the custom entry point script can still check environment to decide whether to enable Sentry or not)