From f1c7a7e952e132e7bb0d8ec8a738804e0f2b2434 Mon Sep 17 00:00:00 2001 From: Freddy Tan Date: Thu, 31 Dec 2015 12:27:32 +0800 Subject: [PATCH] 1. move to package folder 2. fix setup.py --- setup.py | 52 +++++++++++++++++++++++++++ terraform.py => terraform/__init__.py | 0 2 files changed, 52 insertions(+) create mode 100644 setup.py rename terraform.py => terraform/__init__.py (100%) diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..fa99e73 --- /dev/null +++ b/setup.py @@ -0,0 +1,52 @@ +""" +My Tool does one thing, and one thing well. +""" +from distutils.core import setup +import os + +dependencies = [] +module_name = 'terraform' + + +setup( + name=module_name, + version="0.0.1", + url='https://github.com/beelit94/tsplk', + license='BSD', + author='Freddy Tan', + author_email='ftan@splunk.com', + description='My Tool does one thing, and one thing well.', + long_description=__doc__, + packages=[module_name], + include_package_data=True, + package_data={}, + zip_safe=False, + platforms='any', + install_requires=dependencies, + entry_points={ + # 'console_scripts': [ + # 'tsplk = %s.cli:main' % module_name, + # ], + }, + classifiers=[ + # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers + # 'Development Status :: 1 - Planning', + # 'Development Status :: 2 - Pre-Alpha', + # 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Beta', + # 'Development Status :: 5 - Production/Stable', + # 'Development Status :: 6 - Mature', + # 'Development Status :: 7 - Inactive', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: POSIX', + 'Operating System :: MacOS', + 'Operating System :: Unix', + 'Operating System :: Windows', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 3', + 'Topic :: Software Development :: Libraries :: Python Modules', + ] +) diff --git a/terraform.py b/terraform/__init__.py similarity index 100% rename from terraform.py rename to terraform/__init__.py