[openstack-dev] [Oslo] Dumb question on tarball

Doug Hellmann doug.hellmann at dreamhost.com
Mon Feb 18 15:19:03 UTC 2013


On Mon, Feb 18, 2013 at 8:58 AM, Salvatore Orlando <sorlando at nicira.com>wrote:

> Hi,
>
> After updating my Quantum code with the one which uses oslo as a
> dependency, making the source tree incredibly slimmer, I saw Quantum
> was still failing in importing oslo, even if it was correctly in the
> pip-requires (and I did re-install the package).
>
> Oslo also showed up correctly in
> /usr/local/lib/python2.7/dist-packages/oslo_config-2013.1b3-py2.7.egg
> I wondered why the import was failing and I found no __init__.py in
> the oslo folder. This was easily fixed, but I am still not able to
> understand what I did wrong (I just did sudo easy_install
> <tarball_url>), since everything looks fine in the tarball.
>

Oslo is a namespace package, so it shouldn't be imported directly and
doesn't need an __init__.py.

What import was failing and what was the traceback?

Doug


>
> Regards, and thanks in advance,
> Salvatore
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130218/54cff2f4/attachment.html>


More information about the OpenStack-dev mailing list