Update python packages content and version 77/37177/1
authorMickael JEZEQUEL <mickael.jezequel@orange.com>
Tue, 20 Mar 2018 16:03:01 +0000 (17:03 +0100)
committerMickael JEZEQUEL <mickael.jezequel@orange.com>
Tue, 20 Mar 2018 16:03:08 +0000 (17:03 +0100)
Change-Id: I6bd957c69f130167607be91343d9074a5a826f5f
Issue-ID: VNFSDK-41
Signed-off-by: Mickael JEZEQUEL <mickael.jezequel@orange.com>
ice-server/LICENSE.txt [new file with mode: 0644]
ice-server/MANIFEST.in [new file with mode: 0644]
ice-server/setup.py
ice-server/version.py [new file with mode: 0644]
validation-scripts/MANIFEST.in [new file with mode: 0644]
validation-scripts/setup.py
validation-scripts/version.py

diff --git a/ice-server/LICENSE.txt b/ice-server/LICENSE.txt
new file mode 100644 (file)
index 0000000..dd860ea
--- /dev/null
@@ -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 (file)
index 0000000..c88f159
--- /dev/null
@@ -0,0 +1,2 @@
+include LICENSE.txt
+include requirements.txt
index eacf048..f8c608f 100644 (file)
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages
 import sys\r
 \r
 if sys.version_info < (3, 0):\r
-    sys.exit('VNF SDK requires Python 3.0+')\r
+    sys.exit('VNF SDK ICE server requires Python 3.0+')\r
 \r
 root_dir = os.path.dirname(__file__)\r
 install_requires = []\r
@@ -44,28 +44,19 @@ with open(os.path.join(root_dir, 'requirements.txt')) as requirements:
         else:\r
             install_requires.append(requirement)\r
 \r
+# read __version__\r
+exec(open('./version.py').read())\r
+\r
 setup(\r
     name='vnfsdk-ice-server',\r
-    version='0.1',\r
-    description='VNF SDK Heat validation tool',\r
+    version= __version__,\r
+    description='VNF SDK Heat validation REST server',\r
     license='Apache License Version 2.0',\r
     url='http://onap.org/',\r
 \r
     packages=find_packages('.'),\r
-#    packages=[\r
-#        'heat_test',\r
-#        'heat_test.ice_validator',\r
-#        'heat_test.ice_validator.tests',\r
-#        'heat_test.ice_validator.tests.utils'\r
-#    ],\r
 \r
-package_dir={'heat_test': 'heat_test'},\r
-#    package_dir={\r
-#        'heat_test': 'src/heat_test',\r
-#        'heat_test.ice_validator': 'src/heat_test/ice_validator',\r
-#        'heat_test.ice_validator.tests': 'src/heat_test/ice_validator/tests',\r
-#        'heat_test.ice_validator.tests.utils': 'src/heat_test/ice_validator/tests/utils'\r
-#    },\r
+    package_dir={'heat_test': 'heat_test'},\r
 \r
     include_package_data=True,\r
     install_requires=install_requires,\r
diff --git a/ice-server/version.py b/ice-server/version.py
new file mode 100644 (file)
index 0000000..1a72d32
--- /dev/null
@@ -0,0 +1 @@
+__version__ = '1.1.0'
diff --git a/validation-scripts/MANIFEST.in b/validation-scripts/MANIFEST.in
new file mode 100644 (file)
index 0000000..c88f159
--- /dev/null
@@ -0,0 +1,2 @@
+include LICENSE.txt
+include requirements.txt
index 3023df8..2ce41bf 100644 (file)
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages
 import sys\r
 \r
 if sys.version_info < (2, 7):\r
-    sys.exit('VNF SDK requires Python 2.7+')\r
+    sys.exit('VNF SDK ICE scripts requires Python 2.7+')\r
 \r
 root_dir = os.path.dirname(__file__)\r
 install_requires = []\r
index 1f356cc..1a72d32 100644 (file)
@@ -1 +1 @@
-__version__ = '1.0.0'
+__version__ = '1.1.0'