mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 04:36:31 +00:00
fb11622c32
Step 1: can compile
27 lines
771 B
Python
27 lines
771 B
Python
from setuptools import setup, Extension
|
|
from Cython.Build import cythonize
|
|
|
|
extensions = [
|
|
Extension('main', ['main.pyx']),
|
|
Extension('api_client', ['api_client.pyx']),
|
|
Extension('constants', ['constants.pyx']),
|
|
Extension('hardware_service', ['hardware_service.pyx']),
|
|
Extension('inference', ['inference.pyx']),
|
|
Extension('processor_command', ['processor_command.pyx']),
|
|
Extension('remote_handlers', ['remote_handlers.pyx']),
|
|
Extension('security', ['security.pyx'])
|
|
]
|
|
|
|
setup(
|
|
name="azaion.ai",
|
|
ext_modules=cythonize(
|
|
extensions,
|
|
compiler_directives={
|
|
"language_level": 3,
|
|
"emit_code_comments" : False,
|
|
"binding": True
|
|
},
|
|
gdb_debug=True
|
|
),
|
|
zip_safe=False
|
|
) |