On Tue, Oct 13, 2009 at 8:46 AM, Thadeus Burgess <thadeusb@thadeusb.com> wrote:
Ian, I use something similar for my setup.py for my pygames.

You can view it here: http://hg.thadeusb.com/public/.r/Games/MyRTS/file/4dfc6b0d398b/src/setup.py

And I explain it a bit in the comments on my blog post http://blog.thadeusb.com/2009/04/15/pygame-font-and-py2exe/

Basically, i use a * in the data_files list and then the code lines 105-121 take care of the recursive include.
I ran the setup.py, but it still crashes with the error that it can't find main.py, the first file in the subdirectory.
Hopefully that helps! If you feel like posting your whole project I might be able to help you more.
On Tue, Oct 13, 2009 at 8:51 AM, Werner F. Bruhin <werner.bruhin@free.fr> wrote:

Ian Mallett wrote:
> Hello,
> I'm trying to compile something for a friend.  The architecture of the
> program is a .py file that uses .py files in three other directories
> (not packages, like in site-packages): "retrogamelib/", "lib/", and
> "data/".  I would like to see a fully recursive version of this, but for
> now, here's what I've got:
What is in the subdirs?  .py files or some other data files?
The program uses .py files and other data files.