Adds Distutils.Extra support, removes Babel support, which is half-baked at best.
This commit is contained in:
commit
322b145dcd
2130
locale/nova.pot
2130
locale/nova.pot
File diff suppressed because it is too large
Load Diff
2705
po/nova.pot
Normal file
2705
po/nova.pot
Normal file
File diff suppressed because it is too large
Load Diff
13
setup.py
13
setup.py
@ -18,10 +18,19 @@
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import find_packages
|
||||
from setuptools.command.sdist import sdist
|
||||
|
||||
try:
|
||||
import DistUtilsExtra.auto
|
||||
except ImportError:
|
||||
print >> sys.stderr, 'To build nova you need https://launchpad.net/python-distutils-extra'
|
||||
sys.exit(1)
|
||||
assert DistUtilsExtra.auto.__version__ >= '2.18', 'needs DistUtilsExtra.auto >= 2.18'
|
||||
|
||||
|
||||
from nova.utils import parse_mailmap, str_dict_replace
|
||||
from nova import version
|
||||
|
||||
@ -75,7 +84,7 @@ try:
|
||||
except:
|
||||
pass
|
||||
|
||||
setup(name='nova',
|
||||
DistUtilsExtra.auto.setup(name='nova',
|
||||
version=version.canonical_version_string(),
|
||||
description='cloud computing fabric controller',
|
||||
author='OpenStack',
|
||||
|
Loading…
Reference in New Issue
Block a user