[Distutils] namespace_package

Lele Gaifax lele at metapensiero.it
Thu Dec 3 03:19:13 EST 2015


Zvezdan Petkovic <zvezdanpetkovic at gmail.com> writes:

> Hi KP,
>
>> On Dec 2, 2015, at 7:00 PM, KP <patter001 at gmail.com> wrote:
>> 
>> >It looks like you are trying to find a workaround for the problem that perhaps is not a problem at all if you use the standard approach properly.
>> 
>> I'm definitely _trying_ to use a standard approach...That is why I am here posting. Put simply this seems like a valid use case:
>> 
>> >pip install foo.bar 
>> >pip install -e svn+http://<path-to-foo.more>
>> 
>> Even if both tools have the namespace_package foo, the "foo.more" will not properly import.
>> 
>> How is this going against standard approaches?
>
> I don’t know.
> Without seeing the source code for these packages (which Marius already asked for) everything is hypothetical.
> All I know is that I’m using namespaces successfully for over a decade now and never had the need to work around them.
>
> Show us the code.  We may be able to help better if we can try and reproduce.
> Otherwise, it’s hard.

It seems that KP case is either https://github.com/pypa/pip/issues/3160 or
https://github.com/pypa/pip/issues/3, isn't it? Both come with sample code
that demonstrate the problem.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it  |                 -- Fortunato Depero, 1929.



More information about the Distutils-SIG mailing list