|
22 | 22 | use_setuptools() |
23 | 23 | from setuptools import setup, find_packages |
24 | 24 |
|
25 | | -from cloudmonkey import __version__ |
26 | | - |
27 | | -name = 'cloudmonkey' |
28 | | -version = __version__ |
29 | | -requires = ['Pygments>=1.5', |
30 | | - 'prettytable>=0.6', |
31 | | - ] |
| 25 | +from cloudmonkey import __version__, __description__ |
| 26 | +from cloudmonkey import __maintainer__, __maintaineremail__ |
| 27 | +from cloudmonkey import __project__, __projecturl__, __projectemail__ |
32 | 28 |
|
33 | 29 | try: |
34 | 30 | import readline |
35 | 31 | except ImportError: |
36 | 32 | requires.append('readline') |
37 | 33 |
|
38 | 34 | setup( |
39 | | - name = name, |
40 | | - version = version, |
41 | | - author = "The Apache CloudStack Team", |
42 | | - author_email = "cloudstack-dev@incubator.apache.org", |
43 | | - maintainer = "Rohit Yadav", |
44 | | - maintainer_email = "bhaisaab@apache.org", |
45 | | - url = "http://incubator.apache.org/cloudstack", |
46 | | - description = "Command Line Interface for Apache CloudStack", |
47 | | - long_description = "cloudmonkey is a command line interface for Apache " |
48 | | - "CloudStack powered by CloudStack Marvin", |
| 35 | + name = 'cloudmonkey', |
| 36 | + version = __version__, |
| 37 | + author = __project__, |
| 38 | + author_email = __projectemail__, |
| 39 | + maintainer = __maintainer__, |
| 40 | + maintainer_email = __maintaineremail__, |
| 41 | + url = __projecturl__, |
| 42 | + description = __description__, |
| 43 | + long_description = "cloudmonkey is a CLI for Apache CloudStack", |
49 | 44 | platforms = ("Any",), |
50 | 45 | license = 'ASL 2.0', |
51 | 46 | packages = find_packages(), |
52 | | - install_requires = requires, |
| 47 | + install_requires = [ |
| 48 | + 'Pygments>=1.5', |
| 49 | + 'prettytable>=0.6', |
| 50 | + ], |
53 | 51 | include_package_data = True, |
54 | 52 | zip_safe = False, |
55 | 53 | classifiers = [ |
|
0 commit comments