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.:


Tips and Tricks Programming Development Python 3