-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (51 loc) · 1.35 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
49
50
51
52
53
54
55
from setuptools import setup
import pman.build_apps
CONFIG = pman.get_config()
APP_NAME = CONFIG['general']['name']
setup(
name=APP_NAME,
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
'pylint',
'pytest-pylint',
],
cmdclass={
'build_apps': pman.build_apps.BuildApps,
},
options={
'build_apps': {
'include_patterns': [
CONFIG['build']['export_dir']+'/**',
'keybindings.toml',
'settings.prc',
],
'exclude_patterns': [
'**/*.py',
'__py_cache__/**',
],
'rename_paths': {
CONFIG['build']['export_dir']: 'assets/',
},
'gui_apps': {
APP_NAME: CONFIG['run']['main_file'],
},
'plugins': [
'pandagl',
'p3openal_audio',
],
'icons': {
'run_game': [
'assets/icons/icon-256.png',
'assets/icons/icon-128.png',
'assets/icons/icon-64.png',
'assets/icons/icon-48.png',
'assets/icons/icon-32.png'
]
},
'log_filename': '$USER_APPDATA/gridfly/output.log',
},
}
)