-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (30 loc) · 929 Bytes
/
setup.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
# coding:utf-8
'''
Created on 2010-11-28
@author: zdl
'''
from distutils.core import setup
import py2exe
import glob
import time
options = {"py2exe":
{"compressed": True,
"optimize": 2,
"bundle_files": 1,
#"dll_excludes" : ['msvcr71.dll'],
"excludes" : ['_ssl', 'doctest', 'pdb', 'unittest', 'difflib',
'optparse', 'pickle', 'calebdar', 'inspect']
}
}
setup(version = "0.2 ",
description = "Build From: " + time.ctime(),
name = "Diameter Message Tools",
author = "zhang.dongliang",
author_email = "[email protected]",
options = options,
zipfile=None,
windows=[{"script":"DccTranslate.pyw",
"icon_resources":[(1, "kachi.ico")]}
],
data_files=[("etc", glob.glob("etc/*.ini")),
])