Fix version to reside in setup.py 11/39311/2
authorJeremy Phelps <jphelps@linuxfoundation.org>
Tue, 27 Mar 2018 22:43:51 +0000 (17:43 -0500)
committerJeremy Phelps <jphelps@linuxfoundation.org>
Tue, 27 Mar 2018 23:03:34 +0000 (18:03 -0500)
There are better ways to do this according
to the community but I cannot get it to
work with tox atm.  This will unblock the project though.

Change-Id: Ia6b42c8b2078938b0cbc76618938f953f2ab9cb2
Issue-ID: CIMAN-145
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
aria/aria-rest-server/VERSION [deleted file]
aria/aria-rest-server/setup.py
aria/aria-rest-server/tox.ini

diff --git a/aria/aria-rest-server/VERSION b/aria/aria-rest-server/VERSION
deleted file mode 100644 (file)
index 51f7e73..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1.0.1-SNAPSHOT
index 799fe46..eca497c 100644 (file)
 
 from setuptools import setup, find_packages
 
-try:
-  with open('VERSION') as v_file:
-    version = v_file.read().strip()
-except IOError:
-    print "There was a problem parsing the VERSION file."
-
 setup(
   name='aria-rest-server',
-  version=version,
+  version='0.1.0',
   packages=find_packages(),
   author = '',
   author_email = '',
index e74b672..435de03 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py35
+envlist = py27
 [testenv]
 deps=
   pytest