Add Cython setup and enhance installer functionality
Introduced a Cython-based setup to compile Python files for performance improvements. Updated installer scripts with customtkinter modifications for better UI, added support for additional content loading, and enhanced project structure. Adjusted build commands, streamlined file paths, and integrated new UI elements in the HTML resources.
This commit is contained in:
11
installer/setup.py
Normal file
11
installer/setup.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from setuptools import setup
|
||||
from Cython.Build import cythonize
|
||||
import os
|
||||
|
||||
# Zielordner für kompilierten Code
|
||||
build_dir = os.path.join(os.getcwd(), "cython")
|
||||
|
||||
setup(
|
||||
ext_modules=cythonize("main.py", compiler_directives={'language_level': "3"}),
|
||||
script_args=["build_ext", "--build-lib", build_dir]
|
||||
)
|
||||
Reference in New Issue
Block a user