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:
Dror Kagan 2013-02-28 11:02:50 -08:00
parent 460aa6abde
commit 44544e587a
3 changed files with 2 additions and 7 deletions

View File

@ -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]

View File

@ -54,5 +54,4 @@ setuptools.setup(name='reddwarf',
'bin/reddwarf-manage',
],
py_modules=[],
namespace_packages=['reddwarf'],
)

View File

@ -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