Files
loader/setup.py
T
Oleksandr Bezdieniezhnykh 0c5686d149 Update project configuration and code structure
- Added '*.o' to .gitignore to exclude object files from version control.
- Modified Dockerfile to specify the application directory for Uvicorn.
- Updated setup.py to reflect the new source directory structure for Cython extensions.
- Adjusted E2E Docker Compose command to include the application directory.
- Refined type hints in ApiClient and Security classes for better clarity and consistency.

These changes enhance the project's organization and improve the build process.
2026-04-13 06:47:06 +03:00

28 lines
781 B
Python

from setuptools import setup, Extension
from Cython.Build import cythonize
extensions = [
Extension('constants', ['src/constants.pyx']),
Extension('credentials', ['src/credentials.pyx']),
Extension('user', ['src/user.pyx']),
Extension('security', ['src/security.pyx']),
Extension('hardware_service', ['src/hardware_service.pyx']),
Extension('cdn_manager', ['src/cdn_manager.pyx']),
Extension('api_client', ['src/api_client.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
)