This repo contains sample code demonstrating Python packaging.
This compiles and installs the library so the app can be run.
The library is installed in editable mode
(pip install -e ../mylib
).
cd myapp
python -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt -r dev-requirements.txt
cd mylib
python -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt -r dev-requirements.txt
Setup, then:
cd myapp
. ./venv/bin/activate
python main.py