mirror of
https://github.com/django/django.git
synced 2025-06-01 09:39:12 +00:00
Dropped easy_install example from Release How-To.
easy_install was deprecated in 2019. https://setuptools.pypa.io/en/latest/history.html#v42-0-0
This commit is contained in:
parent
15987c9c53
commit
a31edf43b6
@ -314,16 +314,12 @@ 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
|
$ 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``
|
#. Test that the release packages install correctly using ``pip``. Here's one
|
||||||
and ``pip``. Here's one method::
|
method::
|
||||||
|
|
||||||
$ RELEASE_VERSION='1.7.2'
|
$ RELEASE_VERSION='1.7.2'
|
||||||
$ MAJOR_VERSION=`echo $RELEASE_VERSION| cut -c 1-3`
|
$ MAJOR_VERSION=`echo $RELEASE_VERSION| cut -c 1-3`
|
||||||
|
|
||||||
$ 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
|
|
||||||
$ python -m venv django-pip
|
$ python -m venv django-pip
|
||||||
$ . django-pip/bin/activate
|
$ . django-pip/bin/activate
|
||||||
$ python -m pip install https://www.djangoproject.com/m/releases/$MAJOR_VERSION/Django-$RELEASE_VERSION.tar.gz
|
$ python -m pip install https://www.djangoproject.com/m/releases/$MAJOR_VERSION/Django-$RELEASE_VERSION.tar.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user