-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup-py2exe.py
37 lines (30 loc) · 928 Bytes
/
setup-py2exe.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
####
#### Note: mailtray runs fine with Windows. I just can't get py2exe to work
####
import glob
import sys
from distutils.core import setup
import py2exe
ver = '%s%s' % (sys.version_info.major, sys.version_info.minor)
setup(
name = 'operapass',
version = '1.2',
author = 'atmouse',
author_email = '[email protected]',
url = 'https://github.com/atmouse-',
scripts = ('operapass-dump',),
packages = ('operapass',),
#data_files = (),
options = {
'py2exe': {
#'compressed': True,
#'optimize': 2,
#'unbuffered': True,
# Turning this one causes issues with pygtk
#'bundle_files': 1,
#'dll_excludes': ['POWRPROF.DLL', 'MSWSOCK.DLL', ],
#'excludes': ['_ssl', 'doctest', 'pdb', 'unittest', 'difflib', 'inspect',
# 'pyreadline', 'optparse', 'calendar', 'pyexpat', 'bz2',],
}
}
)