mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
fix setup
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
from Cython.Build import cythonize
|
from Cython.Build import cythonize
|
||||||
|
|
||||||
|
|
||||||
module_list = ['app/helper/sites.py']
|
module_list = ['app/helper/sites.py']
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
@@ -14,7 +12,11 @@ setup(
|
|||||||
ext_modules=cythonize(
|
ext_modules=cythonize(
|
||||||
module_list=module_list,
|
module_list=module_list,
|
||||||
nthreads=0,
|
nthreads=0,
|
||||||
compiler_directives={"language_level": "3"},
|
compiler_directives={
|
||||||
|
"language_level": "3",
|
||||||
|
"binding": False,
|
||||||
|
"nonecheck": False
|
||||||
|
},
|
||||||
),
|
),
|
||||||
script_args=["build_ext", "-j", '2', "--inplace"],
|
script_args=["build_ext", "-j", '2', "--inplace"],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user