Skip to content

Commit b01fd69

Browse files
committed
Make sure to create interpreter build directory.
1 parent 5a92ce8 commit b01fd69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/rebuildpython.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ def run_rebuild():
358358
if os.path.isdir(build_dir):
359359
shutil.rmtree(build_dir)
360360

361+
os.makedirs(build_dir)
362+
361363
include_dirs = [sysconfig.get_config_var("INCLUDEPY")]
362364
macros = [("Py_BUILD_CORE", None)]
363365

0 commit comments

Comments
 (0)