[openstack-dev] [Oslo] Dumb question on tarball
Jason Kölker
jason at koelker.net
Mon Feb 18 23:09:31 UTC 2013
On Mon, Feb 18, 2013 at 4:48 PM, Doug Hellmann
<doug.hellmann at dreamhost.com> wrote:
>
>
> On Mon, Feb 18, 2013 at 12:42 PM, Monty Taylor <mordred at inaugust.com> wrote:
>>
>> FASCINATING (I was asking because I know that Salvatore had problems
>> using easy_install)
>>
>> I tested by doing:
>>
>> pip install
>>
>> http://tarballs.openstack.org/oslo-config/oslo-config-2013.1b3.tar.gz#egg=oslo-config
>>
>> and it worked.
>>
>> In general - I strongly recommend ALWAYS using pip install over
>> easy_install. But that doesn't seem to be the real key here.
>>
>> Back to the drawing board...
>
>
> I noticed that "oslo" is not listed among the packages in
> oslo-config/setup.py. I don't know if that's the problem, but it's different
> from other projects where I've used namespace packages in the past.
Yea I belieb that's the problem. The package should be ['oslo',
'oslo.config'] this with oslo being declared as the namespace package
will make sure that the oslo namespace is available after install and
that every oslo directory has the __init__.py in it.
Happy Hacking!
7-11
More information about the OpenStack-dev
mailing list