To develop, in the top directory of the respository use:
python setup.py develop
With the Arduino plugged, test changes using:
python -m pytest -v python -m pytest --cov=tclab tests/
Note that pytest -v fails because the root file is not included in the search path.
Change the version number in
tclab/version.py
.Check the distribution:
python setup.py check
Push changes through to the master branch on Github.
Create and push tag for the version number:
git tag vX.Y.Z git push --tags
Build the distribution:
python setup.py sdist bdist_wheel
Upload (also see the Python Packaging User Guide:
twine upload dist/*