If you have a bug report or idea for improvement, please create an issue on GitHub, or a pull request with the fix.
- Verify tests pass:
tox
- If you have PyCharm, use it to see if your changes introduce any new static analysis warnings.
- Modify CHANGELOG.rst to say what you changed.
On every pull request:
- Verify changes are sensible and in line with project goals.
- Verify tests pass (continuous integration is OK for this).
- Use PyCharm to check static analysis if changes are significant or non-trivial.
- Verify CHANGELOG.rst is modified as appropriate.
- Merge in.
- Create release branch.
- Use
git status
to verify that no superfluous files are present to be included in the source distribution. - Use check-manifest to update MANIFEST.in:
check-manifest -u
- Increment version number from last release according to PEP 0440 and roughly according to the Semantic Versioning guidelines.
- Modify CHANGELOG file:
- Update version number.
- Edit release notes for publication.
- Verify tests pass (continuous integration is OK for this).
- Merge release branch.
- Use check-manifest to verify that no files are missing:
check-manifest
- Use
git status
to verify that no superfluous files are present to be included in the source distribution. - Build distributions:
python setup.py sdist bdist_wheel
- Visually inspect wheel distribution for correctness.
- Upload to testpypi if changes impact PyPI (e.g., if README changed):
twine upload -r test dist\ezoutlet-x.y.z-py2-none-any.whl dist\ezoutlet-0.0.1-dev3.zip
- Upload to pypi:
twine upload dist\ezoutlet-x.y.z-py2-none-any.whl dist\ezoutlet-0.0.1-dev3.zip
- Create accompanying release on GitHub.