github.com/didip/deis@v1.4.1/client/setup.py (about) 1 #!/usr/bin/env python 2 3 """Install the Deis command-line client.""" 4 5 6 try: 7 from setuptools import setup 8 USE_SETUPTOOLS = True 9 except ImportError: 10 from distutils.core import setup 11 USE_SETUPTOOLS = False 12 13 try: 14 LONG_DESCRIPTION = open('README.rst').read() 15 except IOError: 16 LONG_DESCRIPTION = 'Deis command-line client' 17 18 try: 19 APACHE_LICENSE = open('LICENSE').read() 20 except IOError: 21 APACHE_LICENSE = 'See http://www.apache.org/licenses/LICENSE-2.0' 22 23 KWARGS = {} 24 if USE_SETUPTOOLS: 25 KWARGS = {'entry_points': {'console_scripts': ['deis = deis:main']}} 26 else: 27 KWARGS = {'scripts': ['deis']} 28 29 30 setup(name='deis', 31 version='1.4.1', 32 license=APACHE_LICENSE, 33 description='Command-line Client for Deis, the open PaaS', 34 author='OpDemand', 35 author_email='info@opdemand.com', 36 url='https://github.com/deis/deis', 37 keywords=[ 38 'opdemand', 'deis', 'paas', 'cloud', 'coreos', 'docker', 'heroku', 39 'aws', 'ec2', 'rackspace', 'digitalocean', 'gce' 40 ], 41 classifiers=[ 42 'Development Status :: 5 - Production/Stable', 43 'Environment :: Console', 44 'Intended Audience :: Developers', 45 'Intended Audience :: Information Technology', 46 'Intended Audience :: System Administrators', 47 'License :: OSI Approved :: Apache Software License', 48 'Operating System :: OS Independent', 49 'Programming Language :: Python', 50 'Programming Language :: Python :: 2.7', 51 'Topic :: Internet', 52 'Topic :: System :: Systems Administration', 53 ], 54 py_modules=['deis'], 55 data_files=[ 56 ('.', ['README.rst']), 57 ], 58 long_description=LONG_DESCRIPTION, 59 install_requires=[ 60 'docopt==0.6.2', 'python-dateutil==2.4.0', 61 'PyYAML==3.11', 'requests==2.5.1', 62 'termcolor==1.1.0' 63 ], 64 zip_safe=True, 65 **KWARGS)