~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: jaypipes at gmail
  • Date: 2011-02-14 16:04:45 UTC
  • mto: (673.1.2 trunk-translations)
  • mto: This revision was merged to the branch mainline in revision 708.
  • Revision ID: jaypipes@gmail.com-20110214160445-0hnr1v63mf9qxwg6
Merge Distutils.Extra changes for automating translation message catalog compilation

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import os
20
20
import subprocess
21
21
 
22
 
from setuptools import setup, find_packages
 
22
from setuptools import find_packages
23
23
from setuptools.command.sdist import sdist
24
24
 
 
25
try:
 
26
    import DistUtilsExtra.auto
 
27
except ImportError:
 
28
    print >> sys.stderr, 'To build nova you need https://launchpad.net/python-distutils-extra'
 
29
    sys.exit(1)
 
30
assert DistUtilsExtra.auto.__version__ >= '2.18', 'needs DistUtilsExtra.auto >= 2.18'
 
31
 
 
32
 
25
33
from nova.utils import parse_mailmap, str_dict_replace
26
34
from nova import version
27
35
 
75
83
except:
76
84
    pass
77
85
 
78
 
setup(name='nova',
 
86
DistUtilsExtra.auto.setup(name='nova',
79
87
      version=version.canonical_version_string(),
80
88
      description='cloud computing fabric controller',
81
89
      author='OpenStack',