fix setup

This commit is contained in:
jxxghp
2025-02-14 17:17:16 +08:00
parent 30eb4385d4
commit f03da6daca
+15 -13
View File
@@ -1,20 +1,22 @@
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(
name="", name="",
author="", author="",
zip_safe=False, zip_safe=False,
include_package_data=True, include_package_data=True,
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",
script_args=["build_ext", "-j", '2', "--inplace"], "binding": False,
) "nonecheck": False
},
),
script_args=["build_ext", "-j", '2', "--inplace"],
)