Skip to content

Instantly share code, notes, and snippets.

@msacchetin
Created June 14, 2019 21:58
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save msacchetin/1a8edd900608f464c749dd9060f8c8d7 to your computer and use it in GitHub Desktop.
Save msacchetin/1a8edd900608f464c749dd9060f8c8d7 to your computer and use it in GitHub Desktop.
Py2Exe setup for bundling mrtp.py
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