I have a Python app which includes non-Python data files in some of its subpackages. I\'ve been using the include_package_data option in my setup.py
include_package_data
setup.py
I ended up solving it by giving py2exe the option skip_archive=True. This caused it to put the Python files not in library.zip but simply as plain files. Then I used data_files to put the data files right inside the Python packages.
skip_archive=True
library.zip
data_files