[openstack-dev] Help change to openstack.config
Endre Karlson
endre.karlson at gmail.com
Wed Mar 20 21:41:31 UTC 2013
Hi we're having a issue with a change to oslo.config. We have in
moniker/__init__.py a rpcset_defaults('control_exchange', 'moniker') call
to set the exchange to a default but this breaks stuff since it will try to
import oslo.config when going to the .setup file. Is there a way to fix
this?
https://review.openstack.org/#/c/23265/4/moniker/__init__.py
(.venv)/home/ekarlso/projects/moniker (master) $ tox -v -- -v
using tox.ini: /home/ekarlso/projects/moniker/tox.ini
using tox-1.4.3 from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc
GLOB sdist-make: /home/ekarlso/projects/moniker/setup.py
/home/ekarlso/projects/moniker$ /usr/bin/python
/home/ekarlso/projects/moniker/setup.py sdist --formats=zip --dist-dir
/home/ekarlso/projects/moniker/.tox/dist
>/home/ekarlso/projects/moniker/.tox/log/tox-0.log
ERROR: invocation failed, logfile:
/home/ekarlso/projects/moniker/.tox/log/tox-0.log
ERROR: actionid=tox
msg=packaging
cmdargs=['/usr/bin/python',
local('/home/ekarlso/projects/moniker/setup.py'), 'sdist', '--formats=zip',
'--dist-dir', local('/home/ekarlso/projects/moniker/.tox/dist')]
env=None
Traceback (most recent call last):
File "setup.py", line 19, in <module>
from moniker.openstack.common import setup as common_setup
File "/home/ekarlso/projects/moniker/moniker/__init__.py", line 16, in
<module>
from moniker.openstack.common import rpc
File
"/home/ekarlso/projects/moniker/moniker/openstack/common/rpc/__init__.py",
line 28, in <module>
from oslo.config import cfg
ImportError: No module named oslo.config
ERROR: FAIL could not package project
Endre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130320/3fd331a9/attachment.html>
More information about the OpenStack-dev
mailing list