Only ara is a namespace package, subpackages are not.

Change-Id: I3cdb501da1380acf53eaf8facab01be4b7187c67
This commit is contained in:
Florian Apolloner 2018-09-26 20:37:28 +02:00
parent 0d02f3d459
commit 0d556051a0
4 changed files with 2 additions and 7 deletions

View File

@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)

View File

@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)

View File

@ -26,9 +26,6 @@ setup-hooks =
pbr.hooks.setup_hook
[files]
namespace_packages =
ara.api
ara.server
packages =
ara

View File

@ -38,8 +38,8 @@ setenv =
# Temporary venv to help bootstrap integration
[testenv:ansible-integration]
deps =
git+https://git.openstack.org/openstack/ara-plugins@master#egg=ara-plugins
git+https://git.openstack.org/openstack/ara-clients@master#egg=ara-clients
git+https://git.openstack.org/openstack/ara-plugins@master#egg=ara_plugins
git+https://git.openstack.org/openstack/ara-clients@master#egg=ara_clients
commands =
rm -f {toxinidir}/db.sqlite3
bash -c 'ANSIBLE_CALLBACK_PLUGINS=$(python -c "import os,ara.plugins; print(os.path.dirname(ara.plugins.__file__))")/callback ansible-playbook {toxinidir}/hacking/test-playbook.yml'