Skip to content

Commit ee482be

Browse files
committed
editable builds
1 parent 9a4ee89 commit ee482be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ def run(self):
2828

2929
def build_cmake(self, ext):
3030
build_temp = pathlib.Path(self.build_temp)
31+
build_temp.mkdir(parents=True, exist_ok=True)
3132
build_lib = pathlib.Path(self.build_lib)
3233
outpath = os.path.join(build_lib.absolute(), ext.name)
3334

35+
build_temp = os.path.join(build_temp, "build")
3436
if not os.path.exists(build_temp):
3537
cmd = [
3638
"cmake",

0 commit comments

Comments
 (0)