python-terraform-3 Refactor readme and how default value being passed

clean up files
This commit is contained in:
beelit94 2017-01-04 14:16:54 +08:00
parent 706fb2692b
commit 1f99b2e0bf
3 changed files with 1 additions and 14 deletions

View file

@ -1 +0,0 @@
include VERSION

View file

@ -1 +0,0 @@
0.8.1

View file

@ -2,7 +2,6 @@
This is a python module provide a wrapper of terraform command line tool
"""
from setuptools import setup
import os
dependencies = []
module_name = 'python-terraform'
@ -16,19 +15,9 @@ except IOError:
long_description = short_description
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,
version=get_version(),
version='0.8.1',
url='https://github.com/beelit94/python-terraform',
license='MIT',
author='Freddy Tan',