-
Notifications
You must be signed in to change notification settings - Fork 3
/
buildWin32exe.py
45 lines (41 loc) · 2.11 KB
/
buildWin32exe.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
38
39
40
41
42
43
44
45
#!/usr/bin/env python
#-*- coding:utf-8 -*-
# ed2k Link Converter - the Windoes execute file builder part
# Auther Name: Wei-Jie Hsiao (a.k.a. RJ or RJ Hsiao, RJking, RJ-king)
# Date: 2010/12/17
# Version: 1.0
##########################################################################
# LICENSE #
##########################################################################
# This file is part of ed2k Link Converter. #
# #
# ed2k Link Converter is free software: you can redistribute it #
# and/or modify it under the terms of the GNU General Public License #
# as published by the Free Software Foundation, either #
# version 3 of the License, or (at your option) any later version. #
# #
# ed2k Link Converter is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with ed2k Link Converter. If not, see #
# <http://www.gnu.org/licenses/>. #
##########################################################################
### Program Start
from distutils.core import setup
import py2exe
includes = ['encodings', 'encodings.*']
setup(name = 'ed2kLC',
description = 'ed2k Link Converter',
version = '1.0',
author = 'Wei-Jie Hsiao (a.k.a. RJ)',
url = 'http://github.com/RJking/ed2kLC',
windows = ['ed2klc.py', {'script' : 'ed2klc.py', 'icon_resources' : [(1, 'ed2klc-win.ico')]}],
zipfile = None,
options = {'py2exe':{'compressed' : 2,
'optimize' : 2,
'bundle_files' : 1,
'ascii' : False,
'includes' : includes,}})