-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
51 lines (47 loc) · 1.1 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
from setuptools import setup
import pman.build_apps
CONFIG = pman.get_config()
APP_NAME = CONFIG['general']['name']
setup(
name=APP_NAME,
version='1.0.3',
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
'pylint',
'pytest-pylint',
],
cmdclass={
'build_apps': pman.build_apps.BuildApps,
},
options={
'build_apps': {
'include_patterns': {
'game/**',
'.pman',
'settings.prc',
'levels/*.lvl',
'README.md',
},
'exclude_patterns': {
'*.py',
'**/*.py',
},
'rename_paths': {
'game/': './',
},
'gui_apps': {
APP_NAME: CONFIG['run']['main_file'],
},
'log_filename': '$USER_APPDATA/hexima/output.log',
'log_append': False,
'plugins': [
'pandagl',
'p3openal_audio',
'p3fmod_audio',
],
},
}
)