Cython setup updated

This commit is contained in:
2025-02-04 15:23:01 -06:00
parent 96bab38941
commit 77fbf16828
2 changed files with 26 additions and 0 deletions

14
setup.py Normal file
View File

@@ -0,0 +1,14 @@
from distutils.core import setup, Extension
from Cython.Build import cythonize
setup(
ext_modules = cythonize([
"src/qr_detector.py",
"src/db_handler.py",
"src/webhook_handler.py"
], compiler_directives={
'language_level': "3",
'boundscheck': False,
'wraparound': False
})
)