py2exe/distutils: how to include a tree of files?



I'm packaging up a python program and need to include an entire
directory tree in the distribution. the data_files=[] option to
setup() is fine for individual files, but what do I do when I
need to include an entire directory tree?

On a more general note, I'm having trouble finding much
documentation on py2exe at all. There's a wiki page at
py2exe.org, but it's pretty superficial. It mentions looking
at the distutils documentation for details, but I've no idea
how distutils relates to py2exe or where in the distutils
documentation to look for py2exe stuff (I don't see anything
that looks familiar in the distutils docs).

There must be some py2exe documentation somewhere...

[http://sourceforge.net/projects/py2exe/ hasn't been updated in
5 years, is there any reason why it's still around?]

--
Grant Edwards grante Yow! LBJ, LBJ, how many
at JOKES did you tell today??!
visi.com
.



Relevant Pages

  • Re: py2exe/distutils: how to include a tree of files?
    ... documentation on py2exe at all. ... at the distutils documentation for details, ... 'samples' directory tree that I packaged with an app: ...
    (comp.lang.python)
  • [ANN] py2exe 0.5 for Python 2.3 prerelease
    ... I've uploaded a new prerelease of py2exe version 0.5. ... There is still no documentation, ... Note that this version uses the zipimport feature of Python 2.3, ...
    (comp.lang.python)
  • Re: Import, site packages, my modules, Windows vs. Linux
    ... personal modules with Python. ... You want the 'distutils' documentation ... that it references, which will lead you to write a 'setup.py' module ... Many thanks, Ben, distutils was exactly what I needed. ...
    (comp.lang.python)
  • Re: make install with python
    ... > The regular way is to use distutils and a setup.py file (google for ... > documentation). ... I didn't find a section on that in the distutils ...
    (comp.lang.python)
  • Re: make install with python
    ... > Any suggestions how I handle uninstallation? ... I didn't find a section on that in the distutils ... Overall I love it as I rarely have to consult documentation (I always ... need to look at documentation to use autoconf, though I must admit I have only ...
    (comp.lang.python)