[Python-au] setup.py sdist problem
Stephen Thorne
stephen at thorne.id.au
Tue Oct 26 05:34:54 UTC 2010
On 2010-10-26, Mike Dewhirst wrote:
> 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?
I think the trick is adding them to MANIFEST.in, and having them
packaged that way. I haven't done this in a while, but my recollection
is that that's the correct way.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
More information about the python-au
mailing list