Skip to content

Commit

Permalink
Add dartpy target to install target
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Sep 17, 2024
1 parent 815bf4b commit 1cc1eef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions python/dartpy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1cc1eef

Please sign in to comment.