From 1f99b2e0bf59b732b3f8222f095a9d41ed1028df Mon Sep 17 00:00:00 2001 From: beelit94 Date: Wed, 4 Jan 2017 14:16:54 +0800 Subject: [PATCH] python-terraform-3 Refactor readme and how default value being passed clean up files --- MANIFEST.in | 1 - VERSION | 1 - setup.py | 13 +------------ 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 MANIFEST.in delete mode 100644 VERSION diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index b1fc69e..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -include VERSION \ No newline at end of file diff --git a/VERSION b/VERSION deleted file mode 100644 index c18d72b..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.8.1 \ No newline at end of file diff --git a/setup.py b/setup.py index 7648478..68a5a92 100644 --- a/setup.py +++ b/setup.py @@ -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',