Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (39 sloc) 1.08 KB
import os
from setuptools import setup, find_packages
from vcloudtools import __version__
requirements = [
'argh==0.17.2',
'lxml==3.0.1',
'requests==0.14.2',
'simplejson==2.6.2',
]
python_scripts = [
'browse',
'login',
'org',
]
HERE = os.path.dirname(__file__)
try:
long_description = open(os.path.join(HERE, 'README.rst')).read()
except:
long_description = None
setup(
name='vcloudtools',
version=__version__,
packages=find_packages(exclude=['test*']),
# metadata for upload to PyPI
author='Nick Stenning',
author_email='nick@whiteink.com',
maintainer='Government Digital Service',
url='https://github.com/alphagov/vcloudtools',
description='vCloud: tools for interacting with the vCloud API',
long_description=long_description,
license='MIT',
keywords='sysadmin vcloud vmware virtualisation api',
install_requires=requirements,
entry_points={
'console_scripts': [
'vcloud-{0}=vcloudtools.command.{1}:main'.format(s, s.replace('-', '_')) for s in python_scripts
]
}
)