Re: [Distutils] namespace_packages: include itself ot not include

2011-02-08 Thread P.J. Eby
At 10:29 PM 2/8/2011 +0300, Roman Kurakin wrote: There is a package 'aaa.bbb' that uses setuptool only if it is installed on the system. In that case, it can't sensibly use setuptools namespace packages. At all. You need to either: 1. always use setuptools 2. use an alternate namespace

[Distutils] namespace_packages: include itself ot not include

2011-02-04 Thread Roman Kurakin
Hi, Let suppose that we have package aaa and subpackage bbb and we are going to write setup.py for bbb using setuptools: extra = dict( namespace_packages=[aaa, aaa.bbb], zip_safe = False, install_requires = ['setuptools'], ) if __name__==__main__: setup(name=aaa.bbb,

Re: [Distutils] namespace_packages: include itself ot not include

2011-02-04 Thread P.J. Eby
At 02:12 PM 2/4/2011 +0300, Roman Kurakin wrote: Hi, Let suppose that we have package aaa and subpackage bbb and we are going to write setup.py for bbb using setuptools: extra = dict( namespace_packages=[aaa, aaa.bbb], zip_safe = False, install_requires = ['setuptools'], ) if