- Create virtualenv
python -m venv venv
- Activate virtualenv
source ./venv/bin/activate
- Install pdoc and GitPython
pip install pdoc GitPython
- Install package
pip install -e .
- See error when running pdoc against test_package
python -m pdoc test_package
- No error when running pdoc directly against module outside of package
python -m pdoc ./test.py