[Python-au] setup.py sdist problem

Mike Dewhirst miked at dewhirst.com.au
Tue Oct 26 05:07:15 UTC 2010


Does anyone have a hint for me on distutils please???

I'm using Python 2.7 and WinXP. For reasons best known only to myself I 
installed python in C:\usr\bin

My problem is I cannot seem to control XXX below ...

setup( ...
data_files=[
     ('XXX', [
             'doc/license.txt',
             'doc/release_note.txt',
             'doc/synopsis.txt',
             ]
     )
],
...)

The data files appear in C:\usr\bin\XXX instead of 
C:\usr\bin\Lib\site-packages\XXX

I've tried ./, an empty string (as specified in the distutils docco and 
a plain dot all to no avail.

Is there a trick to it?

Thanks

Mike






More information about the python-au mailing list