Created
June 14, 2019 21:58
-
-
Save msacchetin/1a8edd900608f464c749dd9060f8c8d7 to your computer and use it in GitHub Desktop.
Py2Exe setup for bundling mrtp.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from distutils.core import setup | |
import py2exe | |
setup( | |
name = ‘Meter’, | |
description = ‘Python-based App’, | |
version = ‘1.0’, | |
console=[‘mrtp.py’], | |
options = {‘py2exe’: {‘bundle_files’: 1,’packages’:’ctypes’,’includes’: ‘base64,sys,socket,struct,time,code,platform,getpass,shutil’,}}, | |
zipfile = None, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment