-
Clone the project
-
Create the virtual environment.
python -m .venv . .venv/bin/activate
-
Update pip and install build and twine in the virtual environment. Install the requirements for testing.
pip install --upgrade pip pip install build twine pip install -r requirements-dev.txt pip install -r requirements-docs.txt
-
Install the project locally.
pip install --editable .
-
Clean the build folder and build the package.
rm dist/* python -m build
-
Publish the package.
twine upload dist/*