On Thu, Mar 25, 2010 at 12:15 PM, Hugo Doria <hugodo...@gmail.com> wrote: > On Wed, Mar 24, 2010 at 11:37 PM, P.J. Eby <p...@telecommunity.com> wrote: >> You're using a package_dir with more than one entry in it, which is a sign >> that your project's layout is broken. If you wanted a layout like the one >> you describe here, you need to: > > What would be the best layout for this? How should i reorganize my project? >
We've tried to document this here with what people usually do : http://guide.python-distribute.org/creation.html#directory-layout Feedback welcome ! >> >> 1. Omit the package_dir option altogether >> 2. set packages = ['MyProject', 'MyProject.output', 'MyProject.modules'] >> 3. Add an __init__.py in the MyProject directory, to make it the parent >> package >> > > I will try this. > > -- Hugo > _______________________________________________ > Distutils-SIG maillist - distutils-...@python.org > http://mail.python.org/mailman/listinfo/distutils-sig > -- Tarek Ziadé | http://ziade.org _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig