-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (45 loc) · 1.23 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from setuptools import setup
import pman.build_apps
CONFIG = pman.get_config()
APP_NAME = CONFIG['general']['name']
setup(
name=APP_NAME,
cmdclass={
'build_apps': pman.build_apps.BuildApps,
},
options={
'build_apps': {
'include_patterns': [
CONFIG['build']['export_dir']+'/**',
'config/**',
'data/**',
'CREDITS.md',
'LICENSE',
],
'exclude_patterns': [
'config/user.prc',
],
'rename_paths': {
CONFIG['build']['export_dir']: 'assets/',
},
'gui_apps': {
APP_NAME: CONFIG['run']['main_file'],
},
# 'log_filename': '$USER_APPDATA/{0}/{0}.log'.format(APP_NAME),
'log_filename': 'runtime.log',
'plugins': [
'pandagl',
'p3openal_audio',
],
'include_modules': {
APP_NAME: [
'direct.particles.ParticleManagerGlobal',
]
},
'platforms': [
'manylinux2010_x86_64',
'win_amd64',
],
},
}
)