-
Clone the repo
-
Install the repo (virtual environments are strongly encouraged)
pip install --upgrade -e .
-
Install dev requirements
pip install --upgrade -r requirements.txt
Should run black Should run example Should author unit tests, confirm coverage, and passing result
Python built in UnitTest library is supported as well as pytest. Then use pytest to run and make report as well as provide coverage information.
pytest -v --html=pytest_report.html --self-contained-html --cov=mopeka_pro_check --cov-report html:cov_html
-
Commit version and tag it in git vXX.YY.ZZ (XX == Major, YY: minor, ZZ: patch)
-
Build wheel
python setup.py sdist bdist_wheel
-
Publish to Pypi
python -m twine upload dist/*