aboutsummaryrefslogtreecommitdiffstats
path: root/aria/aria-rest-server
diff options
context:
space:
mode:
authorJeremy Phelps <jphelps@linuxfoundation.org>2018-03-27 17:43:51 -0500
committerJeremy Phelps <jphelps@linuxfoundation.org>2018-03-27 18:03:34 -0500
commit79f13c5a6438c2182657fda8f97283bb8e4a63db (patch)
treebccdb2e7dd29afbd0a0c74c1aa7045dc904cc943 /aria/aria-rest-server
parent6106954e541450cbb5545a2c8a928103249cfe72 (diff)
Fix version to reside in setup.py
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>
Diffstat (limited to 'aria/aria-rest-server')
-rw-r--r--aria/aria-rest-server/VERSION1
-rw-r--r--aria/aria-rest-server/setup.py8
-rw-r--r--aria/aria-rest-server/tox.ini2
3 files changed, 2 insertions, 9 deletions
diff --git a/aria/aria-rest-server/VERSION b/aria/aria-rest-server/VERSION
deleted file mode 100644
index 51f7e73a94..0000000000
--- a/aria/aria-rest-server/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-1.0.1-SNAPSHOT
diff --git a/aria/aria-rest-server/setup.py b/aria/aria-rest-server/setup.py
index 799fe46021..eca497c1d4 100644
--- a/aria/aria-rest-server/setup.py
+++ b/aria/aria-rest-server/setup.py
@@ -19,15 +19,9 @@
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 = '',
diff --git a/aria/aria-rest-server/tox.ini b/aria/aria-rest-server/tox.ini
index e74b672b26..435de03638 100644
--- a/aria/aria-rest-server/tox.ini
+++ b/aria/aria-rest-server/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py35
+envlist = py27
[testenv]
deps=
pytest