diff --git a/python/dartpy/CMakeLists.txt b/python/dartpy/CMakeLists.txt index b316e86714798..5430bc9c6196d 100644 --- a/python/dartpy/CMakeLists.txt +++ b/python/dartpy/CMakeLists.txt @@ -89,11 +89,10 @@ if(BUILD_SHARED_LIBS) ) endif() -# TODO: Fix installing dartpy to site-packages directory # Install the pybind module to site-packages directory -# install(TARGETS ${pybind_module} -# LIBRARY DESTINATION "${PYTHON_SITE_PACKAGES}" -# ) +install(TARGETS ${pybind_module} + LIBRARY DESTINATION "${PYTHON_SITE_PACKAGES}" +) list(REMOVE_ITEM dartpy_headers ${CMAKE_CURRENT_LIST_DIR}/eigen_geometry_pybind.h diff --git a/scripts/build.sh b/scripts/build.sh index cecfa60e1b2a5..6ea6bd6b0608b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -270,5 +270,5 @@ if [ "$BUILD_DARTPY" = "ON" ]; then echo "Info: Running a Python example..." echo $PYTHONPATH cd $source_dir/python/examples/hello_world - # python3 main.py + python3 main.py fi