durusmail: quixote-users: Re: setup.py and ptl files
setup.py and ptl files
Re: setup.py and ptl files
2003-07-02
2003-07-02
2003-07-02
Re: setup.py and ptl files
Mark Bucciarelli
2003-07-02
Hi Graham,

On Wednesday 02 July 2003 4:19 pm, Graham Fawcett wrote:
> Mark Bucciarelli wrote:
> > How do I have setup.py include ptl files during the install?
[...]
> >         data_files = [('', ['realtime/forms.ptl',
> > 'realtime/qcal.ptl', 'realtime/ui.ptl', 'realtime/pages.ptl'])]
[...]

> I'm not sure whether this will solve your target-directory problem,
> but iff you are building and subsequently installing a source
> distribution (sdist), you could add a MANIFEST.in file to your
> source root.

the ptl files show up fine when i extract the tar.gz built with
setup.py sdist.  it's when i run the setup.py install that they don't
get copied into site-packages.  i believe the MANIFEST file has
nothing to do with this second step.

i could hard code the destination directory, but that is
platform-specific.

mark



reply