diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-05-29 04:50:04 -0700 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2020-06-02 11:53:14 +0200 |
| commit | d7ee69d2f28da5f08dd8a261bb1f205187a2add2 (patch) | |
| tree | d9aed625f4d79ca5ba7386f84a50e9ace4a7d64d /docs/internals | |
| parent | fe07357ef9678bfbe06c0552ef1f9ae7f22a8d3d (diff) | |
[3.1.x] Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
Backport of 9f4ceee90aaa2a6af8321417d79330f2fdc620ea from master
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/howto-release-django.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/internals/howto-release-django.txt b/docs/internals/howto-release-django.txt index 22fb393810..0305af8007 100644 --- a/docs/internals/howto-release-django.txt +++ b/docs/internals/howto-release-django.txt @@ -305,26 +305,27 @@ Now you're ready to actually put the release out there. To do this: $ scp Django-A.B.C.checksum.txt.asc djangoproject.com:/home/www/www/media/pgp/Django-A.B.C.checksum.txt #. Test that the release packages install correctly using ``easy_install`` - and ``pip``. Here's one method (which requires `virtualenvwrapper`__):: + and ``pip``. Here's one method:: $ RELEASE_VERSION='1.7.2' $ MAJOR_VERSION=`echo $RELEASE_VERSION| cut -c 1-3` - $ mktmpenv + $ python -m venv django-easy-install + $ . django-easy-install/bin/activate $ easy_install https://www.djangoproject.com/m/releases/$MAJOR_VERSION/Django-$RELEASE_VERSION.tar.gz $ deactivate - $ mktmpenv + $ python -m venv django-pip + $ . django-pip/bin/activate $ python -m pip install https://www.djangoproject.com/m/releases/$MAJOR_VERSION/Django-$RELEASE_VERSION.tar.gz $ deactivate - $ mktmpenv + $ python -m venv django-pip-wheel + $ . django-pip-wheel/bin/activate $ python -m pip install https://www.djangoproject.com/m/releases/$MAJOR_VERSION/Django-$RELEASE_VERSION-py3-none-any.whl $ deactivate This just tests that the tarballs are available (i.e. redirects are up) and that they install correctly, but it'll catch silly mistakes. - __ https://pypi.org/project/virtualenvwrapper/ - #. Ask a few people on IRC to verify the checksums by visiting the checksums file (e.g. https://www.djangoproject.com/m/pgp/Django-1.5b1.checksum.txt) and following the instructions in it. For bonus points, they can also unpack |
