About a Shared Python Package that is Still Under Development
When developing a Python package to be shared among projects but still not ready for production, put it under a separate repo and link to it in the *.pth
file under the site-packages
of projects that use it.
In different Python projects, locate the <venv>/lib/python<version>/site-packages/
directory and create a file like my_shared_app.pth
there with the absolute path to the directory containing the my_shared_app
, e.g.:
1 |
|
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You