Skip to content

Commit 3aad913

Browse files
committed
add editable_wheel
1 parent 135ce67 commit 3aad913

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ def enable_sparse() -> bool:
4040

4141
def is_editable_mode() -> bool:
4242
commands = [arg.lower() for arg in sys.argv]
43-
return "develop" in commands or "--editable" in commands or "-e" in commands
43+
return (
44+
"develop" in commands
45+
or "--editable" in commands
46+
or "-e" in commands
47+
or "editable_wheel" in commands
48+
)
4449

4550

4651
class CMakeExtension(Extension):

0 commit comments

Comments
 (0)