[Distutils] namespace_packages

Charlie Moad cwmoad at gmail.com
Thu Jan 19 21:32:18 CET 2006


On 1/19/06, Robert Kern <robert.kern at gmail.com> wrote:
> Charlie Moad wrote:
> > Well here are th cvs links to them.
> >
> > http://cvs.sourceforge.net/viewcvs.py/matplotlib/matplotlib/setup.py?rev=1.143&view=auto
> > http://cvs.sourceforge.net/viewcvs.py/matplotlib/toolkits/basemap/setup.py?rev=1.33&view=auto
> >
> > The matplotlib.toolkits module does not exist in the mpl cvs and it is
> > not in the setup.py file.  I have tried adding both.  In basemap
> > however, the matplotlib.toolkits module does exist and is listed in
> > the setup.py file.
>
> Both of these setup.py files are buggy. The packages list needs to have entries
> in dotted form ("matplotlib.toolkits"), not filesystem form
> ("matplotlib/toolkits"). Correcting them, and adding an empty
> lib/matplotlib/toolkits/__init__.py to the matplotlib checkout allows me to
> build eggs with namespace_packages set appropriately.
>

Thanks for taking a whack at this.  I will test all your comments and
commit if I get it working.


More information about the Distutils-SIG mailing list