Hi Mike,
As you may have noticed, my problem is quite close to yours. I have tried to put a list of couples (assuming source,dest was ok) into the data_files, which has lead to copying the my files (eg. "spam/foo/bar.xsl") into /sw/spam/foo/bar.xsl, creating the intermediary subdirectories.
/sw is the parent directory to the bin directory that contains the python interpreter. So I guess specifying couples copies the file in this location, which is a quite strange "feature" ;)
Cheers,
-- Sébastien.
-- «children are innocent / a teenager's fucked up in the head / adults are even more fucked up / and elderlies are like children» http://www.type-z.org Porno For Pyros, Pets
Sébastien Pierre wrote:
Hi Mike,
As you may have noticed, my problem is quite close to yours. I have tried to put a list of couples (assuming source,dest was ok) into the data_files, which has lead to copying the my files (eg. "spam/foo/bar.xsl") into /sw/spam/foo/bar.xsl, creating the intermediary subdirectories.
/sw is the parent directory to the bin directory that contains the python interpreter. So I guess specifying couples copies the file in this location, which is a quite strange "feature" ;)
Cheers,
-- Sébastien.
You need a own install command for data files if the distutils install_data is not suitable for you.
See for example
PyOpenGL http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pyopengl/PyOpenGL1/ my_install_data.py and setup.py
or
pyxml http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pyxml/xml/ setup.py and setupext/ (This is slightly modified version of the first.)
Kind regards Rene Liebscher