diff options
author | colvert <morgan.richomme@orange.com> | 2019-10-08 21:28:54 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2019-10-08 20:18:42 +0000 |
commit | 2211166d744e6a7dd610baae0cfcfd497e7c29bc (patch) | |
tree | 054a4e5c95457fd562f4559cf7dbc43b1696ce49 /robotframework-onap | |
parent | 6d83774386b1ed99acf2fc2473d04f35d4364f4b (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
(cherry picked from commit 3c8dc1e4c17bb69d0bb4305edb8cd3d084953426)
Diffstat (limited to 'robotframework-onap')
-rw-r--r-- | robotframework-onap/setup.cfg | 6 | ||||
-rw-r--r-- | robotframework-onap/tox.ini | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/robotframework-onap/setup.cfg b/robotframework-onap/setup.cfg index f04dfdd..a0c34a0 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.5.1 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 |