These instructions are geared towards people who want to help develop this library.
All required tooling and libraries can be installed using the requirements-dev.txt
file:
pip install -r requirements-dev.txt
pytest
is used to run tests. Run all tests with coverage and formatting checks:
py.test test_schedule.py --flake8 schedule -v --cov schedule --cov-report term-missing
The documentation is written in reStructuredText. It is processed using Sphinx using the alabaster theme. After installing the development requirements it is just a matter of running:
cd docs
make html
The resulting html can be found in docs/_build/html
Update the HISTORY.rst
and AUTHORS.rst
files.
Bump the version in setup.py
.
Merge these changes into master. Finally:
git tag X.Y.Z -m "Release X.Y.Z"
git push --tags
pip install --upgrade setuptools twine wheel
python setup.py sdist bdist_wheel --universal
twine upload --repository schedule dist/*
This project follows semantic versioning.`