~mvo/ubuntu-sso-client/strawman-lp711413

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: natalia.bidart at canonical
  • Date: 2010-08-20 15:49:23 UTC
  • mto: This revision was merged to the branch mainline in revision 583.
  • Revision ID: natalia.bidart@canonical.com-20100820154923-qj6h2jrh5ije855p
Adding translation support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import os
20
20
import sys
21
21
 
 
22
try:
 
23
    import DistUtilsExtra.auto
 
24
except ImportError:
 
25
    print >> sys.stderr, 'To build this program you need '\
 
26
                         'https://launchpad.net/python-distutils-extra'
 
27
    sys.exit(1)
 
28
assert DistUtilsExtra.auto.__version__ >= '2.18', \
 
29
       'needs DistUtilsExtra.auto >= 2.18'
 
30
 
22
31
from distutils.core import setup
23
32
from distutils.spawn import find_executable
24
33
from distutils.command import clean, build
70
79
        clean.clean.run(self)
71
80
 
72
81
 
73
 
setup(
 
82
DistUtilsExtra.auto.setup(
74
83
    name='ubuntu-sso-client',
75
84
    version='0.99.1',
76
85
    license='GPL v3',
93
102
    cmdclass = {
94
103
        'build' : SSOBuild,
95
104
        'clean' : SSOClean,
96
 
        },
97
 
    )
 
105
    },
 
106
)