-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup_exe.py
More file actions
23 lines (17 loc) · 779 Bytes
/
setup_exe.py
File metadata and controls
23 lines (17 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from cx_Freeze import setup, Executable
from autotable import __version__
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages = ['pyproj.datadir', 'pkg_resources.py2_warn'],
excludes = ['numpy.fft'],
# https://github.com/anthony-tuininga/cx_Freeze/issues/278#issuecomment-542316877
include_files = ['C:\\Windows\\System32\\vcruntime140.dll'])
base = 'Console'
executables = [
Executable('autotable/main.py', base=base, targetName="autotable")
]
setup(name='autotable',
version = __version__,
description = 'An Open Rails timetable generator that uses GTFS data',
options = dict(build_exe = buildOptions),
executables = executables)