[Distutils] setuptools: namespace packages

Phillip J. Eby pje at telecommunity.com
Fri Aug 19 20:24:13 CEST 2005


At 01:16 PM 8/19/2005 -0500, Ian Bicking wrote:
>Phillip J. Eby wrote:
>>At 12:21 PM 8/19/2005 -0500, Ian Bicking wrote:
>>
>>>When developing a namespace distribution, where should I put it?  Should
>>>each such distribution be a separate project in the repository (e.g.,
>>>code goes in Paste/exceptions/trunk/paste/exceptions/)?
>>
>>If you want to distribute them separately, they need to be separate 
>>projects with their own setup.py and project name, like 
>>"Paste-Exceptions" or whatever.
>
>If I have a package already, and I want to add a new subpackage, as a 
>seperate distribution, what would that entail?  E.g., I have the paste 
>package as it is, and I want to add paste.deploy as a separate 
>distribution, but without splitting up anything else.  Do I have to modify 
>the original Paste setup?

No, as long as the original project's paste.__init__ doesn't contain any 
code, and any new projects declare the namespace package in their setup().



More information about the Distutils-SIG mailing list