]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Add install of pytz before import_cldr
authorSteve (Gadget) Barnes <gadgetsteve@hotmail.com>
Fri, 18 Oct 2019 16:07:24 +0000 (17:07 +0100)
committerAarni Koskela <akx@iki.fi>
Tue, 31 Dec 2019 08:03:04 +0000 (10:03 +0200)
closes #670

docs/installation.rst

index ce778b04c07512f14584e57901a4c9d623f126cb..c1b7ab9fe633591989ff79597de95c3606b58e5a 100644 (file)
@@ -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