-
Notifications
You must be signed in to change notification settings - Fork 14
Releasing Instructions
Adam J. Stewart edited this page Feb 2, 2021
·
11 revisions
Below are a list of instructions for creating a new release of fiscalyear
. Fiscalyear uses semantic versioning for its version numbering.
- Make sure all tests pass, and we have 100% coverage
- Change the
__version__
infiscalyear.py
- Update list of tested Python versions in
.github/workflows/pytest.yaml
- Update list of supported Python versions in
setup.py
Follow the instructions at https://help.github.com/en/github/administering-a-repository/creating-releases
Follow the instructions at https://packaging.python.org/tutorials/packaging-projects/
-
python setup.py sdist --formats=gztar,zip
to build .tar.gz and .zip -
python3 setup.py bdist_wheel
to build wheel for Python 3 -
python2 setup.py bdist_wheel
to build wheel for Python 2 - Check
fiscalyear.egg-info/SOURCES.txt
and make sure all important files are included twine upload dist/*
Submit a PR to https://github.com/conda-forge/fiscalyear-feedstock
Submit a PR to https://github.com/spack/spack