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 4a179fc commit 6dd986fCopy full SHA for 6dd986f
1 file changed
setup.py
@@ -67,6 +67,8 @@ class Config:
67
"egg_info",
68
"--version",
69
"download_libzim",
70
+ "build_sdist",
71
+ "sdist",
72
)
73
74
@property
@@ -383,7 +385,7 @@ def can_sign_apple(self) -> bool:
383
385
config = Config()
384
386
387
-def get_cython_extension() -> Extension:
388
+def get_cython_extension() -> list[Extension]:
389
define_macros = []
390
compiler_directives = {"language_level": "3"}
391
@@ -614,7 +616,7 @@ def run(self):
614
616
615
617
618
if len(sys.argv) == 1 or (
- len(sys.argv) == 2 and sys.argv[1] in config.buildless_commands # noqa: PLR2004
619
+ len(sys.argv) >= 2 and sys.argv[1] in config.buildless_commands # noqa: PLR2004
620
):
621
ext_modules = []
622
else:
0 commit comments