full compile system build. 2. beam_spliter, MMI and spiral classes added
This commit is contained in:
@@ -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"}
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user