Skip to content

Commit

Permalink
jsk_rosbag_tools: use requirements.in.python3.12 for python3.12 (ubun…
Browse files Browse the repository at this point in the history
…tu 24.04)
  • Loading branch information
k-okada committed Dec 29, 2024
1 parent 0562f13 commit ffd6aeb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jsk_rosbag_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,20 @@ if("$ENV{ROS_DISTRO}" STREQUAL "indigo" OR "$ENV{ROS_DISTRO}" STREQUAL "kinetic"
INPUT_REQUIREMENTS requirements.in.python2
PYTHON_INTERPRETER python2
)
else()
find_package(Python COMPONENTS Interpreter)
if(Python_VERSION VERSION_GREATER_EQUAL 3.12.0)
catkin_generate_virtualenv(
INPUT_REQUIREMENTS requirements.in.python3.12
PYTHON_INTERPRETER python3
)
else()
catkin_generate_virtualenv(
INPUT_REQUIREMENTS requirements.in
PYTHON_INTERPRETER python3
)
endif()
endif()

file(GLOB SCRIPTS_FILES scripts/*)
catkin_install_python(
Expand Down
4 changes: 4 additions & 0 deletions jsk_rosbag_tools/requirements.in.python3.12
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Pillow==8.4.0
moviepy==1.0.3
scipy==1.11.4
numpy<1.28.0,>=1.21.6

0 comments on commit ffd6aeb

Please sign in to comment.