[reportlab-users] Anyone understand distutils

Andy Robinson reportlab-users@reportlab.com
Tue, 15 Oct 2002 17:18:13 +0100


> Question 1.  The docs assume that setup.py lives
> one directory above what you want to ship.  We made
> 'reportlab' the top directory in our CVS tree.
> Are we irreparably stuffed or can one make a setup.py
> whose home is "inside the package"?


Doh.  I just had the wrong mixture of braces,
quotes and dots. If one puts this line as an
argument to setup(...), one can put the
setup.py script in reportlab/setup.py
and all works as expected.  
         
          package_dir = {'': '..'}

Expect to find an incomplete one there in CVS
tomorrow....

- Andy