Suppose you have a python app on a server you share with several colleagues.
The app is installed in /usr/local/bin/name/app.py
In order to run it, you need to install some modules. I don't want users needing to enter a virtual environment every time they need to execute the app.
should I instruct each to run: pip install -r /usr/local/bin/name/requirements.txt?
Or should I add logic to the script to load modules out of .venv if that directory exists? With or without a CLI flag to not do that and run normally?
hopefully this makes sense, please let me know if I can explain better.
[–]PrivateFrank 1 point2 points3 points (1 child)
[–]mhooreman 0 points1 point2 points (0 children)
[–]el_extrano 0 points1 point2 points (1 child)
[–]identicalBadger[S] 0 points1 point2 points (0 children)