diff options
author | Chris Donley <christopher.donley@huawei.com> | 2018-03-20 17:08:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-20 17:08:48 +0000 |
commit | bc16d3d3acdaaf20a8561a03089ed8460ef907cf (patch) | |
tree | e8ef9924de6d80af843b4c981f620ccee9e71e95 /ice-server/setup.py | |
parent | adc4d77feb42c7fb2afb3a1f34fbe9b36311808b (diff) | |
parent | 6abf6dc0d1ea75f13c602231dfbb123dd1edc481 (diff) |
Merge "Update python packages content and version"
Diffstat (limited to 'ice-server/setup.py')
-rw-r--r-- | ice-server/setup.py | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/ice-server/setup.py b/ice-server/setup.py index eacf048..f8c608f 100644 --- a/ice-server/setup.py +++ b/ice-server/setup.py @@ -21,7 +21,7 @@ from setuptools import setup, find_packages import sys
if sys.version_info < (3, 0):
- sys.exit('VNF SDK requires Python 3.0+')
+ sys.exit('VNF SDK ICE server requires Python 3.0+')
root_dir = os.path.dirname(__file__)
install_requires = []
@@ -44,28 +44,19 @@ with open(os.path.join(root_dir, 'requirements.txt')) as requirements: else:
install_requires.append(requirement)
+# read __version__
+exec(open('./version.py').read())
+
setup(
name='vnfsdk-ice-server',
- version='0.1',
- description='VNF SDK Heat validation tool',
+ version= __version__,
+ description='VNF SDK Heat validation REST server',
license='Apache License Version 2.0',
url='http://onap.org/',
packages=find_packages('.'),
-# packages=[
-# 'heat_test',
-# 'heat_test.ice_validator',
-# 'heat_test.ice_validator.tests',
-# 'heat_test.ice_validator.tests.utils'
-# ],
-package_dir={'heat_test': 'heat_test'},
-# package_dir={
-# 'heat_test': 'src/heat_test',
-# 'heat_test.ice_validator': 'src/heat_test/ice_validator',
-# 'heat_test.ice_validator.tests': 'src/heat_test/ice_validator/tests',
-# 'heat_test.ice_validator.tests.utils': 'src/heat_test/ice_validator/tests/utils'
-# },
+ package_dir={'heat_test': 'heat_test'},
include_package_data=True,
install_requires=install_requires,
|