Skip to content

Commit 1cc1eef

Browse files
committed
Add dartpy target to install target
1 parent 815bf4b commit 1cc1eef

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

python/dartpy/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,10 @@ if(BUILD_SHARED_LIBS)
8989
)
9090
endif()
9191

92-
# TODO: Fix installing dartpy to site-packages directory
9392
# Install the pybind module to site-packages directory
94-
# install(TARGETS ${pybind_module}
95-
# LIBRARY DESTINATION "${PYTHON_SITE_PACKAGES}"
96-
# )
93+
install(TARGETS ${pybind_module}
94+
LIBRARY DESTINATION "${PYTHON_SITE_PACKAGES}"
95+
)
9796

9897
list(REMOVE_ITEM dartpy_headers
9998
${CMAKE_CURRENT_LIST_DIR}/eigen_geometry_pybind.h

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,5 @@ if [ "$BUILD_DARTPY" = "ON" ]; then
270270
echo "Info: Running a Python example..."
271271
echo $PYTHONPATH
272272
cd $source_dir/python/examples/hello_world
273-
# python3 main.py
273+
python3 main.py
274274
fi

0 commit comments

Comments
 (0)