Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 698 Bytes

CONTRIBUTING.md

File metadata and controls

48 lines (31 loc) · 698 Bytes

Contributing

Setup

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -e .

Testing

pip install -r requirements-dev.txt
pytest --cov
---
86%

Before you commit

pre-commit install

Distribution

  • PyPi
# update pypi

# pypi credentials - see https://twine.readthedocs.io/en/stable/#environment-variables

export TWINE_USERNAME=  #  the username to use for authentication to the repository.
export TWINE_PASSWORD=  # the password to use for authentication to the repository.

# this could be maintained as so: export $(cat .env | xargs)

rm -r dist/
python3  setup.py sdist bdist_wheel
twine upload dist/*