3 ms·
> Giving each application its own package directory is better One simple way to do that is cd projectfoo mkdir libs pip install -t libs PYTHONPATH=libs python
by olau 5y ago
> Giving each application its own package directory is better
One simple way to do that is
cd projectfoo
mkdir libs
pip install -t libs
PYTHONPATH=libs python foo.py
That way you can use system packages like a database connection library together with the local application dependency farm.