Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from distutils.core import setup
- import py2exe, sys, glob
- #http://www.py2exe.org/
- #Run from dos command prompt
- #!python setup.py py2exe
- sys.argv.append("py2exe")
- data_files = glob.glob("*.ico")
- data_files.extend(glob.glob("*.gif"))
- setup(
- console=['slaveserial.py'],
- data_files=[(".", data_files)]
- )
- #http://www.py2exe.org/index.cgi/ListOfOptions
- #http://www.py2exe.org/index.cgi/data_files
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement