[Distutils] Future namespace support

Lennart Regebro regebro at gmail.com
Wed Oct 14 16:28:25 CEST 2009


2009/10/14 kiorky <kiorky at cryptelium.net>:
>> This may be quite current even if it's not a good habit to have circular
>> dependencies between distributions.
>> Imagine that.
>>
>> B(0.7) -> A(0.6).
>> A(0.6) -> B(0.7).

I don't think that's a problem, although I can't see why you would
need it in this case.

>> Can i have the same namespace "ns" shared between the twice distributions with
>> both the setuptools namespaces implementation (A) and the pkg_util's one (B)?

I don't see why not, they would work the same way. Possibly the global
_namespace_packages dictionary needs to be shared by both setuptools
and the new module, but that can easily be handled by importing it
from setuptools if setuptools is installed.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64


More information about the Distutils-SIG mailing list