Gabriel Genellina wrote:
En Fri, 30 Jan 2009 09:50:08 -0200, Armin <a...@nospam.org> escribió:
Right at the end: "To install data files directly in the target
directory, an empty string should be given as the directory."
setup(...,
data_files=[
('', ['list/of/file/names',
'perhaps/including/source/directory']),
]
)
Yes ... so far the theory :)
As posted before ... set's my script (python 2.3):
from distutils.core import setup
import py2exe
setup(windows=['dpconf.py'],
data_files=[ "", ["proj_db","gsd_db","dachs2.xbm"]]
)
When I create the distribution I got the following err msg:
*** copy data files ***
warning: install_data: setup script did not provide a directory for ''
-- installing right in 'C:\pyDPCONF.2.3-dev\dist'
error: can't copy '': doesn't exist or not a regular file
Looks a little bit inconsistent ?
--Armin
--
http://mail.python.org/mailman/listinfo/python-list