mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:36:30 +00:00
27 lines
848 B
Python
27 lines
848 B
Python
from setuptools import setup, Extension
|
|
from Cython.Build import cythonize
|
|
|
|
extensions = [
|
|
Extension('constants', ['constants.pyx']),
|
|
Extension('annotation', ['annotation.pyx']),
|
|
Extension('security', ['security.pyx']),
|
|
Extension('hardware_service', ['hardware_service.pyx'], extra_compile_args=["-g"], extra_link_args=["-g"]),
|
|
Extension('processor_command', ['processor_command.pyx']),
|
|
Extension('api_client', ['api_client.pyx']),
|
|
Extension('inference', ['inference.pyx']),
|
|
Extension('remote_handlers', ['remote_handlers.pyx']),
|
|
Extension('main', ['main.pyx']),
|
|
]
|
|
|
|
setup(
|
|
name="azaion.ai",
|
|
ext_modules=cythonize(
|
|
extensions,
|
|
compiler_directives={
|
|
"language_level": 3,
|
|
"emit_code_comments" : False,
|
|
"binding": True
|
|
}
|
|
),
|
|
zip_safe=False
|
|
) |