dda-python-terraform/setup.py

64 lines
2 KiB
Python
Raw Normal View History

"""
2016-11-19 16:48:59 +00:00
This is a python module provide a wrapper of terraform command line tool
"""
2016-11-19 15:29:57 +00:00
from setuptools import setup
import os
dependencies = []
2016-02-25 09:22:11 +00:00
module_name = 'python-terraform'
2016-11-19 15:56:00 +00:00
short_description = 'This is a python module provide a wrapper ' \
'of terraform command line tool'
2016-11-19 17:44:35 +00:00
try:
with open('DESCRIPTION.rst') as f:
long_description = f.read()
except IOError:
long_description = short_description
2016-11-19 15:36:32 +00:00
2016-02-25 09:22:11 +00:00
def get_version():
p = os.path.join(os.path.dirname(
os.path.abspath(__file__)), "VERSION")
with open(p) as f:
version = f.read()
version = version.strip()
if not version:
raise ValueError("could not read version")
return version
setup(
name=module_name,
2016-02-25 09:22:11 +00:00
version=get_version(),
2015-12-31 06:48:26 +00:00
url='https://github.com/beelit94/python-terraform',
2016-11-19 11:00:35 +00:00
license='MIT',
author='Freddy Tan',
2015-12-31 06:51:32 +00:00
author_email='beelit94@gmail.com',
2016-11-19 15:56:00 +00:00
description=short_description,
2016-11-19 15:36:32 +00:00
long_description=long_description,
2016-02-25 09:22:11 +00:00
packages=['python_terraform'],
package_data={},
platforms='any',
install_requires=dependencies,
classifiers=[
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
2016-11-19 11:00:35 +00:00
'Development Status :: 4 - Beta',
# 'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
'Environment :: Console',
'Intended Audience :: Developers',
2016-11-19 15:29:57 +00:00
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Operating System :: Unix',
2016-11-19 11:17:08 +00:00
# 'Operating System :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)