aboutsummaryrefslogtreecommitdiffstats
path: root/aria
diff options
context:
space:
mode:
authorJeremy Phelps <jphelps@linuxfoundation.org>2018-03-23 12:15:38 -0500
committerJeremy Phelps <jphelps@linuxfoundation.org>2018-03-23 12:16:57 -0500
commitff9c524c37b921835ecd5a3cef50d632466acb13 (patch)
tree02e40ca766616d57c2dc2ec5c62d4adc4edd66bc /aria
parent71d8f248e9e7682e24049239ad81af752ed9827f (diff)
Add files to help build python package
Added setup.py, VERSION, and tox.ini. Issue-ID: CIMAN-149 Change-Id: Iab8af0cec621c63351c2abe71f7094f93f72a4f1 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
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