diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-06-02 02:45:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-02 11:45:44 +0200 |
| commit | 8ce570f2f263ab04190f03a0e6b7e7667a3265d8 (patch) | |
| tree | a3adfbf4ec8f703d6619f5c7a66c960e9a067a2c /docs/internals | |
| parent | ecaac9e42f497be04ddc72dfebb6e397ccca9517 (diff) | |
Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
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 66ccaad280..d63ddfa31a 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 |
