Hi all! Does pex respect the environment variable PYTHONSTARTUP? I want to use it to preload Sentry during execution
f
fast-nail-55400
05/09/2025, 1:39 PM
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.
fast-nail-55400
05/09/2025, 1:40 PM
(and, if you want, the custom entry point script can still check environment to decide whether to enable Sentry or not)