-
Run tox to ensure all tests, lintings etc. are properly executed and Sphinx docs are build
(.venv): tox
-
Check *pre-commit' hooks
(.venv): git add <files to add to staging area> (.venv): pre-commit autoupdate (.venv): pre-commit run --all-files
After that make sure to check for changes which might have to be added to git staging area
-
Build the project in development mode
(.venv): python3 -m pip install -e . -
Build the release package
(.venv): python3 -m build
-
Create a virtual Python environment and activate it
python3 -m venv .venv source .venv/bin/activate -
Make sure you are using the Python app of thevirtual Python environment
(.venv): which python3
Should be something like
~/.venv/bin/python3 -
Install the required Python libraries to manage the package
(.venv): python -m pip install -r requirements.txt
-
Install 'pre-commit'
(.venv): pre-commit install