7 Commits

Author SHA1 Message Date
Monty Taylor
b54179438e Move translations to babel locations.
If we structure things like this, we can get things
actually, you know, installed.

Locales ast and oc aren't supported by babel. We'll re-import them
from Launchpad once we get babel updated.

If you want translations installed, run:

  python setup.py compile_catalog

Before you run either setup.py sdist or setup.py install

More work is needed to actually properly use the installed translations, but
we're closer.

Change-Id: I4a4bedd982c89063aa09688c9cbcf97054bcb34b
2012-02-08 19:30:39 -08:00
Monty Taylor
4a4c274c83 Get rid of distutils.extra.
We moved to DistUtilsExtra because it promised a more automatic workflow
from setup.py. It doesn't actually deliver though, and it also vomits
warnings during setup.py usage, and also breaks pip integration.

So this is going back to babel. Mostly folks shouldn't need to know
anything about this. We'll need to update the translations import
jobs in Jenkins, and we might need to add a corresponding translations
upload job that runs post-merge.

Translations installation doesn't fully work - but it actually wasn't fully
working before. Getting this part of the project done now though is a
pre-requisite for using tox for multi-python testing (tox starts by
creating an sdist tarball and then installing it into the venv, which
is just 100% broken with DistUtilsExtra)

Change-Id: I126e1bcfab0656eab6ca10de67d3d2aaa8b844f3
2012-02-08 19:30:39 -08:00
Mark McLoughlin
3de787b58c Remove remnants of babel i18n infrastructure
We use distutils-extra now instead of babel.

Change-Id: I10625cc4ef2ac8eefd46ee09e36f8cfaef85061f
2011-12-06 11:31:02 +00:00
Monty Taylor
00808c08c6 Added babel/gettext build support. 2011-01-10 11:26:38 -08:00
Monty Taylor
ea89153b93 Updated setup.py file to install stuff on a python setup.py install command. 2010-07-27 21:41:07 -07:00
Monty Taylor
87e27afec0 Updated sphinx layout to a two-dir layout like swift.
Updated a doc string to get rid of a Sphinx warning.
2010-07-24 18:06:22 -07:00
Monty Taylor
c510e7e830 Added a config file to let setup.py drive building the sphinx docs. 2010-07-16 15:33:24 -05:00