summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve (Gadget) Barnes <gadgetsteve@hotmail.com>2019-10-18 17:07:24 +0100
committerAarni Koskela <akx@iki.fi>2019-12-31 10:03:04 +0200
commit9680427a75d3c267df111e2db585b26925a336bf (patch)
treeb4b53465eb4c9f854c5ca4e4fafc1aa61fa0e464 /docs
parent2abad80c9f2fc70bde71f53ab8270ca950100595 (diff)
downloadbabel-9680427a75d3c267df111e2db585b26925a336bf.tar.gz
Add install of pytz before import_cldr
closes #670
Diffstat (limited to 'docs')
-rw-r--r--docs/installation.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index ce778b0..c1b7ab9 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -79,15 +79,16 @@ Get the git checkout in a new virtualenv and run in development mode::
New python executable in venv/bin/python
Installing distribute............done.
$ . venv/bin/activate
+ $ pip install pytz
$ python setup.py import_cldr
$ pip install --editable .
...
Finished processing dependencies for Babel
-Make sure to not forget about the ``import_cldr`` step because otherwise
-you will be missing the locale data. This custom command will download
-the most appropriate CLDR release from the official website and convert it
-for Babel.
+Make sure to not forget about the ``pip install pytz`` and ``import_cldr`` steps
+because otherwise you will be missing the locale data.
+The custom setup command will download the most appropriate CLDR release from the
+official website and convert it for Babel but will not work without ``pytz``.
This will pull also in the dependencies and activate the git head as the
current version inside the virtualenv. Then all you have to do is run