summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael JEZEQUEL <mickael.jezequel@orange.com>2018-03-20 17:03:01 +0100
committerMickael JEZEQUEL <mickael.jezequel@orange.com>2018-03-20 17:03:08 +0100
commit6abf6dc0d1ea75f13c602231dfbb123dd1edc481 (patch)
tree3d748080591f26e8f130fb2c34cb012bfdd72eac
parent1c473e186f58b2211e4658a472fc7dced7ec2f64 (diff)
Update python packages content and version
Change-Id: I6bd957c69f130167607be91343d9074a5a826f5f Issue-ID: VNFSDK-41 Signed-off-by: Mickael JEZEQUEL <mickael.jezequel@orange.com>
-rw-r--r--ice-server/LICENSE.txt19
-rw-r--r--ice-server/MANIFEST.in2
-rw-r--r--ice-server/setup.py23
-rw-r--r--ice-server/version.py1
-rw-r--r--validation-scripts/MANIFEST.in2
-rw-r--r--validation-scripts/setup.py2
-rw-r--r--validation-scripts/version.py2
7 files changed, 33 insertions, 18 deletions
diff --git a/ice-server/LICENSE.txt b/ice-server/LICENSE.txt
new file mode 100644
index 0000000..dd860ea
--- /dev/null
+++ b/ice-server/LICENSE.txt
@@ -0,0 +1,19 @@
+1.Files ending in .txt, .png, .gif, .jpg, .tiff, .svg, .pdf, .docs, .odf, .xml, or .md in the current directory
+ or subdirectories are licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE.
+Full license text at https://creativecommons.org/licenses/by/4.0/legalcode.
+
+2.Unless otherwise specified, all other files in the current directory and subdirectories
+ are licensed under Apache 2.0 license.
+-----------------------
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-------------------------
diff --git a/ice-server/MANIFEST.in b/ice-server/MANIFEST.in
new file mode 100644
index 0000000..c88f159
--- /dev/null
+++ b/ice-server/MANIFEST.in
@@ -0,0 +1,2 @@
+include LICENSE.txt
+include requirements.txt
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,
diff --git a/ice-server/version.py b/ice-server/version.py
new file mode 100644
index 0000000..1a72d32
--- /dev/null
+++ b/ice-server/version.py
@@ -0,0 +1 @@
+__version__ = '1.1.0'
diff --git a/validation-scripts/MANIFEST.in b/validation-scripts/MANIFEST.in
new file mode 100644
index 0000000..c88f159
--- /dev/null
+++ b/validation-scripts/MANIFEST.in
@@ -0,0 +1,2 @@
+include LICENSE.txt
+include requirements.txt
diff --git a/validation-scripts/setup.py b/validation-scripts/setup.py
index 3023df8..2ce41bf 100644
--- a/validation-scripts/setup.py
+++ b/validation-scripts/setup.py
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages
import sys
if sys.version_info < (2, 7):
- sys.exit('VNF SDK requires Python 2.7+')
+ sys.exit('VNF SDK ICE scripts requires Python 2.7+')
root_dir = os.path.dirname(__file__)
install_requires = []
diff --git a/validation-scripts/version.py b/validation-scripts/version.py
index 1f356cc..1a72d32 100644
--- a/validation-scripts/version.py
+++ b/validation-scripts/version.py
@@ -1 +1 @@
-__version__ = '1.0.0'
+__version__ = '1.1.0'