diff options
author | stub42 <stuart@stuartbishop.net> | 2018-11-02 14:41:32 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 14:41:32 +0700 |
commit | 17f3a39a53aea770c8a296c9900cb386570fb32e (patch) | |
tree | ffbca9a56906cb8cbc97cf044e1ba75cb933a95f | |
parent | 024e87765ac37cd5b818347c3e6afa98a1e4f5a6 (diff) | |
parent | e7ffbda8d2c07b7337eb727fb6726672dd0fae36 (diff) | |
download | pytz-git-17f3a39a53aea770c8a296c9900cb386570fb32e.tar.gz |
Merge pull request #19 from jdufresne/easy
Replace all references to deprecated easy_install with pip
-rw-r--r-- | src/README.txt | 19 |
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 ~~~~~~~~~~~~~~~ |