remove the namespace_packages from setup.py
In reddwarf's setup.py, the method setuptool.setup() currently accepts a parameter for namespace_packages, and it shouldn't. Change-Id: Ica1fbebd5cbd5943c3a1b322d14a280737bc0542 fixes: bug #1136189
This commit is contained in:
parent
460aa6abde
commit
44544e587a
@ -2,9 +2,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
|
||||
source=.tox/cover/lib/python2.7/site-packages/reddwarf
|
||||
# replace with previous line once the python path issue is resolved and the tox.ini is fixed accordingly
|
||||
# source=reddwarf
|
||||
source=reddwarf
|
||||
omit=*reddwarf/tests*,*reddwarf/openstack/common*
|
||||
|
||||
[report]
|
||||
|
1
setup.py
1
setup.py
@ -54,5 +54,4 @@ setuptools.setup(name='reddwarf',
|
||||
'bin/reddwarf-manage',
|
||||
],
|
||||
py_modules=[],
|
||||
namespace_packages=['reddwarf'],
|
||||
)
|
||||
|
4
tox.ini
4
tox.ini
@ -22,9 +22,7 @@ commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,d
|
||||
basepython = python2.7
|
||||
commands =
|
||||
coverage erase
|
||||
coverage run -m subunit.run discover ./reddwarf/tests/unittests
|
||||
# replace with above line once the python path issue is resolved
|
||||
# python setup.py testr --coverage
|
||||
python setup.py testr --coverage
|
||||
coverage run -a run_tests.py
|
||||
coverage html
|
||||
coverage report
|
||||
|
Loading…
Reference in New Issue
Block a user