You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fabio Ticconi edited this page Mar 4, 2020
·
2 revisions
Welcome to the reg-gen wiki! Nothing much to see for now, but that might change in the future.
Release instructions for maintainers:
# For rgt, we first make a pull request from “develop” to “master”, directly on github.# This must be reviewed by at least another developer before being mergeable.# Then we must build a distribution package and upload it on PiPy.# make sure you are in the master branch:
git branch
# make sure to clean any files you may have from previous releases:
python setup.py clean
rm -rf dist/* RGT.egg-info/ build/
# create the distribution package
python setup.py sdist
# have you installed the twine package?# pip install --user twine# then upload to TestPyPI (you must be registered and added to the RGT project):
twine upload --repository-url https://test.pypi.org/legacy/ dist/*# check on https://testpypi.python.org/pypi that the release is OK,# and also test it locally (on both Mac and Linux, possibly!) with:
pip install --user --index-url https://test.pypi.org/simple/ --no-deps rgt
# then upload to the real PyPI
twine upload dist/*# you can now check on the real PyPI https://pypi.python.org/pypi,# remove the test rgt and install the real one. Make sure to run all the tests for this!
pip uninstall rgt
pip install --user rgt -U