Skip to content

Commit 369cc97

Browse files
committed
additional safeguard with python -m build
avoids > KeyError: 'install_lib'
1 parent 4b9c872 commit 369cc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222

2323
os.remove(os.path.join(libdir, "moveit", "__init__.py"))
2424
shutil.rmtree(os.path.join(libdir, "moveit", "__pycache__"))
25-
except AttributeError as e:
25+
except (AttributeError, KeyError) as e:
2626
pass

0 commit comments

Comments
 (0)