full compile system build. 2. beam_spliter, MMI and spiral classes added
Build and Release mxPIC Wheels / Build on ubuntu-latest (release) Failing after 7m8s
Build and Release mxPIC Wheels / Build on windows-latest (release) Has been cancelled
Build and Release mxPIC Wheels / Publish to GitHub Releases (release) Has been cancelled

This commit is contained in:
2026-05-07 17:10:00 +08:00
parent dda69d5b84
commit d7c19ed782
115 changed files with 5448 additions and 509 deletions
+8 -2
View File
@@ -11,7 +11,8 @@ def find_pyx_files(directory):
dirs.remove('docs')
for file in files:
if file.endswith(".py") and file != "__init__.py":
# if file.endswith(".py") and file != "__init__.py":
if file.endswith(".py"):
paths.append(os.path.join(root, file))
return paths
@@ -30,8 +31,13 @@ extensions = [
setup(
name="mxpic",
version="1.0.0",
# Tell setuptools to include all .pyi files across all sub-folders
package_data={
"mxpic": ["*.pyi", "**/*.pyi"],
},
include_package_data=True,
ext_modules=cythonize(
extensions,
compiler_directives={'language_level': "3"} # Force Python 3
compiler_directives={'language_level': "3"}
),
)