aboutsummaryrefslogtreecommitdiffstats
path: root/aria
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2018-03-24 21:11:42 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-24 21:11:42 +0000
commit598447ef29aa1c8887dfd34f825c3bb591dccded (patch)
treef016e2c0601a77d1a41268c23b6f1da10b416312 /aria
parent7a36c13b120629557398e84f8924f585fd9ff899 (diff)
parentff9c524c37b921835ecd5a3cef50d632466acb13 (diff)
Merge "Add files to help build python package"
Diffstat (limited to 'aria')
-rw-r--r--aria/aria-rest-server/VERSION1
-rw-r--r--aria/aria-rest-server/setup.py41
-rw-r--r--aria/aria-rest-server/tox.ini13
3 files changed, 55 insertions, 0 deletions
diff --git a/aria/aria-rest-server/VERSION b/aria/aria-rest-server/VERSION
new file mode 100644
index 0000000000..51f7e73a94
--- /dev/null
+++ b/aria/aria-rest-server/VERSION
@@ -0,0 +1 @@
+1.0.1-SNAPSHOT
diff --git a/aria/aria-rest-server/setup.py b/aria/aria-rest-server/setup.py
new file mode 100644
index 0000000000..799fe46021
--- /dev/null
+++ b/aria/aria-rest-server/setup.py
@@ -0,0 +1,41 @@
+# org.onap.dcae
+# ============LICENSE_START====================================================
+# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+# =============================================================================
+# 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.
+# ============LICENSE_END======================================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+
+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,
+ packages=find_packages(),
+ author = '',
+ author_email = '',
+ description = ('Library for ...'),
+ license = 'Apache 2.0',
+ keywords = '',
+ url = '',
+ zip_safe = True,
+ install_requires=[],
+ entry_points = {}
+)
diff --git a/aria/aria-rest-server/tox.ini b/aria/aria-rest-server/tox.ini
new file mode 100644
index 0000000000..e74b672b26
--- /dev/null
+++ b/aria/aria-rest-server/tox.ini
@@ -0,0 +1,13 @@
+[tox]
+envlist = py27,py35
+[testenv]
+deps=
+ pytest
+ coverage
+ pytest-cov
+setenv =
+ PYTHONPATH={toxinidir}
+commands=
+ echo "There are no tests yet"
+ #pytest --junitxml xunit-results.xml --cov dcaeapplib --cov-report xml
+ #coverage xml