-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install catkin_virtualenv in build_ros1.sh and install rospkg-modules…
… in build_ros1_dependencies.sh
- Loading branch information
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
repositories: | ||
catkin_virtualenv: | ||
type: git | ||
url: https://github.com/locusrobotics/catkin_virtualenv | ||
version: 0.9.0 | ||
# | ||
# 0.9.0 contains following two patches, but not release on ROS1 | ||
# catkin_virtualenv depends on python3-rospkg-modules (and others). It is installed in build_ros1_dependencies.sh | ||
# | ||
# At current, if we do a catkin build with CATKIN_ENABLE_TESTING=FALSE, | ||
# we get the error 'Unknown CMake command "catkin_run_tests_target"' | ||
# when calling catkin_generate_virtualenv. The following PR fixes this error. | ||
# https://github.com/locusrobotics/catkin_virtualenv/pull/89 | ||
# | ||
# Some python environments may not have ensurepip installed. | ||
# Also, some users may not be able to use sudo apt install to install python3-venv (sudo command), etc. | ||
# The following PR will enable catkin_virtualenv in environments without ensurepip by doing get-pip.py within venv. | ||
# https://github.com/locusrobotics/catkin_virtualenv/pull/90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1045-python3-catkin-pkg-modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -xeuf -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/python3-catkin-pkg-modules/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/python3-catkin-pkg-modules/catkin_pkg_modules-0.5.2 | ||
|
||
# cd ${DEBIAN_DIR}/patches | ||
# for patch_file in $(grep -v ^# series); do | ||
# OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
# done | ||
|
||
cd ${SOURCE_DIR} | ||
|
||
mkdir -p /opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python3.6/site-packages/ | ||
SKIP_PYTHON_SCRIPTS=TRUE \ | ||
PYTHONPATH="/opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python3.6/site-packages" \ | ||
python3 \ | ||
setup.py install \ | ||
--prefix /opt/jsk/${INSTALL_ROOT}/ros1_dependencies |
19 changes: 19 additions & 0 deletions
19
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1046-python3-rospkg-modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -xeuf -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/python3-rospkg-modules/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/python3-rospkg-modules/rospkg_modules-1.5.0 | ||
|
||
# cd ${DEBIAN_DIR}/patches | ||
# for patch_file in $(grep -v ^# series); do | ||
# OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
# done | ||
|
||
cd ${SOURCE_DIR} | ||
|
||
mkdir -p /opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python3.6/site-packages/ | ||
SKIP_PYTHON_SCRIPTS=TRUE \ | ||
PYTHONPATH="/opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python3.6/site-packages" \ | ||
python3 \ | ||
setup.py install \ | ||
--prefix /opt/jsk/${INSTALL_ROOT}/ros1_dependencies |