https://github.com/fhcrc/deenurp
Tip revision: 9f9b5fb624a8e40a9dc145f9df4c5ba56558c6ec authored by Chris Rosenthal on 26 October 2023, 19:07:15 UTC
Updating requirement versions
Updating requirement versions
Tip revision: 9f9b5fb
DEVELOPING.rst
====================
Developing deenurp
====================
running tests
=============
Unit tests can be run like this::
python setup.py test
and functional tests like this::
tests/run.sh
creating a release
==================
We're using a feature branch workfow whenever feasible. So when a
feature is complete:
- run tests!
- update the version number in ``setup.py``
- update CHANGES.txt
- make a final commit
- merge into master and run tests again
- create a git tag for the release, using format 'vmajor.minor.release' (eg, v0.2.0)
- ``git push origin master``
- ``git push --tags``
- someday: update PyPi (see below)
PyPi
----
(not on PyPi yet, but when it is...)
Make sure to have updated the version string in ``setup.py`` first.
If you have not done so create a ~/.pypirc file::
python setup.py register
Proceed to build and upload::
python setup.py clean
python setup.py sdist bdist_wheel
twine upload dist/*