summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcolvert <morgan.richomme@orange.com>2019-10-08 21:28:54 +0200
committercolvert <morgan.richomme@orange.com>2019-10-08 21:30:54 +0200
commit3c8dc1e4c17bb69d0bb4305edb8cd3d084953426 (patch)
tree6739eea944817a891a04b3a27ba1240ff6c0aaec
parentf80c745d0eca9cf45d1d3a76adfc13d3be09f07a (diff)
Fix python package creation
- fix bad configuration in setup.cfg - clean coverage target Issue-ID: TEST-184 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I733a784a1d717155b72ede8e35fe64fb14a36cd4
-rw-r--r--robotframework-onap/setup.cfg6
-rw-r--r--robotframework-onap/tox.ini6
2 files changed, 8 insertions, 4 deletions
diff --git a/robotframework-onap/setup.cfg b/robotframework-onap/setup.cfg
index 2de608b..3be2149 100644
--- a/robotframework-onap/setup.cfg
+++ b/robotframework-onap/setup.cfg
@@ -1,5 +1,7 @@
[metadata]
name = robotframework-onap
+author = Daniel Rose
+author_email = dr695h@att.com
version = 0.6
home-page = https://github.com/onap/testsuite-python-testing-utils
classifier =
@@ -15,7 +17,9 @@ classifier =
Programming Language :: Python :: 3.7
[files]
-packages = vcpeutils,ONAPLibrary
+packages =
+ vcpeutils
+ ONAPLibrary
[wheel]
universal = 1
diff --git a/robotframework-onap/tox.ini b/robotframework-onap/tox.ini
index 08ebf48..34e0b7e 100644
--- a/robotframework-onap/tox.ini
+++ b/robotframework-onap/tox.ini
@@ -1,11 +1,11 @@
[tox]
-envlist = py3,pep8,pylint,py27
+envlist = py27,pep8,pylint,py3
+distdir = {toxinidir}/dist
modules =
ONAPLibrary
vcpeutils
[testenv]
-usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
@@ -31,7 +31,7 @@ commands = nosetests --with-xunit \
--all-modules \
--with-coverage \
--cover-tests \
- --cover-package=. \
+ --cover-package=ONAPLibrary,vcpeutils \
--cover-xml \
--cover-html \
tests