From: Darren D. <dar...@co...> - 2008-01-10 00:57:03
|
On Wednesday 09 January 2008 7:01:14 pm Jeff Whitaker wrote: > Andrew Straw wrote: > > As the author of the only other known MPL toolkit (at least in the MPL > > tree), I'm happy with the idea of using a namespace package for > > mpl_toolkits. I understand your proposal to mean that each toolkit would > > have a directory structure: > > > > setup.py > > lib/ > > mpl_toolkits/ > > __init__.py (empty) > > basemap/ > > __init__.py > > other_files.py > > > > This is OK with me, but I question is whether it's necessary to have the > > "lib" directory -- it seems entirely redundant. I'm fine with either > > way, though. > > > > -Andrew > > Andrew: Yes, that's it, except that all the __init__.py files must be > empty, not just the first one. Just to clarify, all __init__.pys must be empty? I have no experience with setuptools, but the way I read the documentation, it sounded like only the __init__.py in the namespace package needed to be empty, like Andrew showed. Hopefully not muddying the waters, Darren |