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 0fcae8d commit bad9354Copy full SHA for bad9354
setup.py
@@ -40,7 +40,12 @@ def enable_sparse() -> bool:
40
41
def is_editable_mode() -> bool:
42
commands = [arg.lower() for arg in sys.argv]
43
- return "develop" in commands or "--editable" in commands or "-e" in commands
+ return (
44
+ "develop" in commands
45
+ or "--editable" in commands
46
+ or "-e" in commands
47
+ or "editable_wheel" in commands
48
+ )
49
50
51
class CMakeExtension(Extension):
@@ -60,7 +65,7 @@ def run(self):
60
65
def build_cmake(self, ext: CMakeExtension):
61
66
build_dir = os.path.abspath(self.build_temp)
62
67
install_dir = os.path.abspath(self.build_lib)
63
- if is_editable_mode:
68
+ if is_editable_mode():
64
69
install_dir = ext.cmake_file_path
70
71
cmake_args = [
0 commit comments