forked from deis/deis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·66 lines (56 loc) · 1.93 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
"""Install the Deis command-line client."""
try:
from setuptools import setup
USE_SETUPTOOLS = True
except ImportError:
from distutils.core import setup
USE_SETUPTOOLS = False
try:
LONG_DESCRIPTION = open('README.rst').read()
except IOError:
LONG_DESCRIPTION = 'Deis command-line client'
try:
APACHE_LICENSE = open('LICENSE').read()
except IOError:
APACHE_LICENSE = 'See http://www.apache.org/licenses/LICENSE-2.0'
KWARGS = {}
if USE_SETUPTOOLS:
KWARGS = {'entry_points': {'console_scripts': ['deis = deis:main']}}
else:
KWARGS = {'scripts': ['deis']}
with open('requirements.txt') as f:
required = f.read().splitlines()
required = [r for r in required if r.strip() and not r.startswith('#')]
setup(name='deis',
version='1.10.0-dev',
license=APACHE_LICENSE,
description='Command-line Client for Deis, the open PaaS',
author='Engine Yard',
author_email='[email protected]',
url='https://github.com/deis/deis',
keywords=[
'opdemand', 'deis', 'paas', 'cloud', 'coreos', 'docker', 'heroku',
'aws', 'ec2', 'digitalocean', 'gce', 'azure', 'linode', 'openstack'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet',
'Topic :: System :: Systems Administration',
],
py_modules=['deis'],
data_files=[
('.', ['README.rst']),
],
long_description=LONG_DESCRIPTION,
install_requires=required,
zip_safe=True,
**KWARGS)