diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-02-17 17:52:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-02-17 17:52:22 +0000 |
| commit | 63cf95634395dc37bdd46fa7b7dfdbf47592d42a (patch) | |
| tree | e98ffdd414ed6bc002f02d3bba3a622c3e7c079d /setup.py | |
| parent | 895176203640d2608062fab26efc6e8120e11b21 (diff) | |
| parent | 4a4c274c834728a03bce7e5384c562321821eaf8 (diff) | |
Merge "Get rid of distutils.extra."
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -16,26 +16,12 @@ # License for the specific language governing permissions and limitations # under the License. -import gettext import glob import os from setuptools import find_packages -# In order to run the i18n commands for compiling and -# installing message catalogs, we use DistUtilsExtra. -# Don't make this a hard requirement, but warn that -# i18n commands won't be available if DistUtilsExtra is -# not installed... -try: - from DistUtilsExtra.auto import setup -except ImportError: - from setuptools import setup - print "Warning: DistUtilsExtra required to use i18n builders. " - print "To build nova with support for message catalogs, you need " - print " https://launchpad.net/python-distutils-extra >= 2.18" - -gettext.install('nova', unicode=1) +from setuptools import setup from nova import version |
