-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup_cxfreeze.py
executable file
·61 lines (55 loc) · 2.62 KB
/
setup_cxfreeze.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
# rFactorTools
# Copyright (C) 2014 Ingo Ruhnke <grumbel@gmail.com>
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
from cx_Freeze import setup, Executable
from distutils.core import Extension
setup(name='rfactortools',
version='0.4.0',
executables=[
# Executable("aiwtool.py"),
# Executable("dirtool.py"),
# Executable("gentool.py"),
# Executable("gmttool.py"),
# Executable("gtr2-to-gsc2013.py"),
# Executable("imgtool.py"),
Executable("maspack.py"),
Executable("masunpack.py"),
# Executable("race07-ids.py"),
Executable("rfactorcrypt.py"),
# Executable("rfactor-to-gsc2013.py"),
Executable("rfactortools-gui.pyw", base='Win32GUI'),
# Executable("sfxtool.py"),
# Executable("vehtool.py"),
],
ext_modules=[Extension('rfactortools._crypt', ['rfactortools_crypt.cpp'])],
options={'build_exe': {'include_files': ['logo.png',
"HOWTO.txt",
('FAQ.md', 'FAQ.txt'),
('README.md', 'README.txt'),
('COPYING', 'COPYING.txt'),
'checksums/GSC2013-GameData.sha1sums',
'checksums/Race07-full.sha1sums',
"data/racegroove.dds",
"data/skidhard.dds",
"data/sky00.dds",
"data/sky01.dds",
"data/sky02.dds",
"data/sky03.dds",
"data/sky04.dds"],
'includes': ['PIL.TgaImagePlugin'],
'icon': 'icon.ico'}},
requires=['PIL', 'pathlib'])
# EOF #