durusmail: quixote-users: 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
setup.py and ptl files
Mark Bucciarelli
2003-07-02
How do I have setup.py include ptl files during the install?

[OT Is there a searchable list archive?]

I put

        data_files = [('', ['realtime/forms.ptl', 'realtime/qcal.ptl',
                'realtime/ui.ptl', 'realtime/pages.ptl'])]

in setup.py, but this sticks the ptl files in /usr.  According the the
disutils docs, an empty string for the directory puts them in the
target directory, which I expected would by
.../site-packages/realtime/.

--
Mark Bucciarelli, www.hubcapconsulting.com
    He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine receives
light without darkening me.   -- Thomas Jefferson


reply