-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathsetup.py
49 lines (43 loc) · 1.01 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
import sys
import os
from setuptools import setup
from Cython.Build import cythonize
def run():
CORE = [
"core/ability.py",
"core/acl.py",
"core/advbase.py",
"core/afflic.py",
"core/condition.py",
"core/config.py",
"core/ctx.py",
"core/dragonform.py",
"core/dummy.py",
"core/log.py",
"core/modifier.py",
"core/simulate.py",
"core/slots.py",
"core/timeline.py",
"module/template.py",
"module/bleed.py",
"module/tension.py",
]
ADV = [
"adv/gala_luca.py",
"adv/incognito_nefaria.py",
"adv/valerio.py",
"adv/gala_laxi.py",
]
with open("chara_slow.txt", "r") as f:
for line in f:
ADV.append(f"adv/{line.strip()}")
setup(
name="core",
ext_modules=cythonize(
ADV,
compiler_directives={"language_level": "3"},
),
zip_safe=False,
)
if __name__ == "__main__":
run()