I want to force a script to be run with python -S, I'm defining the script using entry_points in the setup.py. Is there an option for this?
Thanks!
I want to force a script to be run with python -S, I'm defining the script using entry_points in the setup.py. Is there an option for this?
Thanks!
I don't think there is such option in setuptools. You could create a stub script and specify it in the
scripts
distutils option instead. Bases on Is it possible to set the python -O (optimize) flag within a script?: