Skip to content

Commit 49388aa

Browse files
committed
assert
1 parent 74e4761 commit 49388aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def finalize_options(self):
150150

151151
def run(self):
152152
mjpc_tasks_path = Path(__file__).parent.parent / "build" / "mjpc" / "tasks"
153+
assert mjpc_tasks_path.exists(), "Build MJPC before installing Python API"
153154
source_paths = (
154155
tuple(mjpc_tasks_path.rglob("*.xml"))
155156
+ tuple(mjpc_tasks_path.rglob("*.png"))

0 commit comments

Comments
 (0)