More updates/fixes to release process
Some of this is temporary, but this is how I got things to work. --HG-- branch : pytest-2.7
This commit is contained in:
parent
504b6b72a9
commit
83a93e5e9a
|
@ -2,7 +2,7 @@
|
||||||
How to release pytest (draft)
|
How to release pytest (draft)
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
1. bump version numbers in pytest/__init__.py (setup.py reads it)
|
1. bump version numbers in _pytest/__init__.py (setup.py reads it)
|
||||||
|
|
||||||
2. check and finalize CHANGELOG
|
2. check and finalize CHANGELOG
|
||||||
|
|
||||||
|
@ -25,22 +25,30 @@ How to release pytest (draft)
|
||||||
which is ok (tox does not support skipping on
|
which is ok (tox does not support skipping on
|
||||||
per-platform basis yet).
|
per-platform basis yet).
|
||||||
|
|
||||||
7. Regenerate the docs using the toplevel makefile::
|
7. Regenerate the docs examples using tox::
|
||||||
make docs
|
# Create and activate a virtualenv with regendoc installed
|
||||||
|
# (currently needs revision 4a9ec1035734)
|
||||||
|
tox -e regen
|
||||||
|
|
||||||
8. Upload the docs using the toplevel makefile::
|
8. Build the docs, you need a virtualenv with, py and sphinx
|
||||||
make upload-docs
|
installed::
|
||||||
|
cd docs/en
|
||||||
|
make html
|
||||||
|
|
||||||
|
9. Upload the docs using docs/en/Makefile::
|
||||||
|
cd docs/en
|
||||||
|
make install # or "installall" if you have LaTeX installed
|
||||||
This requires ssh-login permission on pytest.org because it uses
|
This requires ssh-login permission on pytest.org because it uses
|
||||||
rsync.
|
rsync.
|
||||||
Note that the "install" target of doc/en/Makefile defines where the
|
Note that the "install" target of doc/en/Makefile defines where the
|
||||||
rsync goes to, typically to the "latest" section of pytest.org.
|
rsync goes to, typically to the "latest" section of pytest.org.
|
||||||
|
|
||||||
9. publish to pypi "devpi push pytest-2.6.2 pypi:NAME" where NAME
|
10. publish to pypi "devpi push pytest-2.6.2 pypi:NAME" where NAME
|
||||||
is the name of pypi.python.org as configured in your
|
is the name of pypi.python.org as configured in your
|
||||||
~/.pypirc file -- it's the same you would use with
|
~/.pypirc file -- it's the same you would use with
|
||||||
"setup.py upload -r NAME"
|
"setup.py upload -r NAME"
|
||||||
|
|
||||||
10. send release announcement to mailing lists:
|
11. send release announcement to mailing lists:
|
||||||
|
|
||||||
pytest-dev
|
pytest-dev
|
||||||
testing-in-python
|
testing-in-python
|
||||||
|
|
Loading…
Reference in New Issue