We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b751418 commit 63f47dcCopy full SHA for 63f47dc
setup.py
@@ -11,14 +11,14 @@
11
pyx_files = Path("flask_inputfilter").rglob("*.pyx")
12
13
pyx_modules = [
14
- str(path).replace(".pyx", "").replace("/", ".") for path in pyx_files
+ ".".join(path.with_suffix("").parts) for path in pyx_files
15
]
16
17
ext_modules = cythonize(
18
module_list=[
19
Extension(
20
name=module,
21
- sources=[module.replace(".", "/") + ".pyx"],
+ sources=[str(Path(*module.split(".")).with_suffix(".pyx"))],
22
extra_compile_args=["-std=c++11"],
23
language="c++",
24
)
0 commit comments