distutils bdist and data files

j vickroy jim.vickroy at noaa.gov
Tue Aug 20 21:22:09 CEST 2002


I'm using Python 2.2.1 on a MS Windows 2K machine.

I have created a setup.py script that specifies a list for the data_files
parameter in the distutils.core.setup component.

If I issue the following command:

> setup.py install

the data files are copied to the destination as expected.

However, If I issue the following command:

> setup.py bdist_wininst

and then execute the resulting binary installer, the data files are nowhere
to be found on the target, but everything else in the distribution is
correctly copied to the target.

Any ideas why this happens?

More information about the Python-list mailing list