I am working with python3.4 on windows 7.Using py2exe for making executable file. In my python script i am opening multiple folders and reading files from them.The setup.py used is as follows,
from distutils.core import setup
import py2exe, sys, os ,difflib
sys.argv.append('py2exe')
setup(
windows=['script.py'],
name="XYZ",
options = {'py2exe': {
"optimize": 2,
"bundle_files": 1,
"compressed": True
}},
)
The directory which holds the setup file and python script also have folders containing data files. so how can i possibly include the folders within this setup file.