-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (39 loc) · 1.12 KB
/
setup.py
File metadata and controls
41 lines (39 loc) · 1.12 KB
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
from setuptools import setup
import platform
platforms = {
"Linux": ['manylinux2014_x86_64'],
"Windows": ['win_amd64'],
"Darwin": ['macosx_10_9_x86_64'],
}
setup(
name='Flow',
options={
'build_apps': {
'gui_apps': {
'flow': 'run_game.py',
},
'platforms': platforms.get(platform.system(), ["win_amd64"]), # default to windows
# Set up output logging, important for GUI apps!
'log_filename': './logs/output.log',
'log_append': False,
'include_modules': [
'certifi',
],
# Specify which files are included with the distribution
'include_patterns': [
'assets/**/*',
'user_config.json',
'map.json',
'*.png'
],
# Include the OpenGL renderer and OpenAL audio plug-in
'plugins': [
'pandagl',
'p3openal_audio',
'p3ffmpeg',
'p3assimp'
],
'prefer_discrete_gpu': True,
}
}
)