summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-11-01 18:39:35 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-11-01 18:40:51 -0700
commite7ffbda8d2c07b7337eb727fb6726672dd0fae36 (patch)
treeffbca9a56906cb8cbc97cf044e1ba75cb933a95f
parent024e87765ac37cd5b818347c3e6afa98a1e4f5a6 (diff)
downloadpytz-git-e7ffbda8d2c07b7337eb727fb6726672dd0fae36.tar.gz
Replace all references to deprecated easy_install with pip
easy_install is deprecated and its use is discouraged by PyPA: https://setuptools.readthedocs.io/en/latest/easy_install.html > Warning: Easy Install is deprecated. Do not use it. Instead use pip. Follow upstream advice and only recommended supported tools.
-rw-r--r--src/README.txt19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/README.txt b/src/README.txt
index d9b0390..b37acf0 100644
--- a/src/README.txt
+++ b/src/README.txt
@@ -31,24 +31,19 @@ Almost all of the Olson timezones are supported.
Installation
~~~~~~~~~~~~
-This package can either be installed from a .egg file using setuptools,
-or from the tarball using the standard Python distutils.
+This package can either be installed using ``pip`` or from a tarball using the
+standard Python distutils.
+
+If you are installing using ``pip``, you don't need to download anything as the
+latest version will be downloaded for you from PyPI::
+
+ pip install pytz
If you are installing from a tarball, run the following command as an
administrative user::
python setup.py install
-If you are installing using setuptools, you don't even need to download
-anything as the latest version will be downloaded for you
-from the Python package index::
-
- easy_install --upgrade pytz
-
-If you already have the .egg file, you can use that too::
-
- easy_install pytz-2008g-py2.6.egg
-
Example & Usage
~~~~~~~~~~~~~~~