mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:36:30 +00:00
31 lines
1.0 KiB
Python
31 lines
1.0 KiB
Python
from setuptools import setup, Extension
|
|
from Cython.Build import cythonize
|
|
|
|
extensions = [
|
|
Extension('constants', ['constants.pyx']),
|
|
Extension('file_data', ['file_data.pyx']),
|
|
Extension('remote_command', ['remote_command.pyx']),
|
|
Extension('remote_command_handler', ['remote_command_handler.pyx']),
|
|
Extension('credentials', ['credentials.pyx']),
|
|
Extension('hardware_service', ['hardware_service.pyx'], extra_compile_args=["-g"], extra_link_args=["-g"]),
|
|
Extension('security', ['security.pyx']),
|
|
Extension('user', ['user.pyx']),
|
|
Extension('cdn_manager', ['cdn_manager.pyx']),
|
|
Extension('api_client', ['api_client.pyx']),
|
|
Extension('main_loader', ['main_loader.pyx']),
|
|
]
|
|
|
|
setup(
|
|
name="azaion.loader",
|
|
ext_modules=cythonize(
|
|
extensions,
|
|
compiler_directives={
|
|
"language_level": 3,
|
|
"emit_code_comments": False,
|
|
"binding": True,
|
|
'boundscheck': False,
|
|
'wraparound': False
|
|
}
|
|
),
|
|
zip_safe=False
|
|
) |