Skip to content

Commit

Permalink
Noetic migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Nov 6, 2023
1 parent 0179688 commit 1d32ec7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1.3)
cmake_minimum_required(VERSION 3.10.2)
project(pyhsm)

find_package(catkin REQUIRED)
Expand All @@ -9,7 +9,7 @@ catkin_python_setup()
catkin_package()

# Install targets
install(PROGRAMS scripts/viewer.py
catkin_install_python(PROGRAMS scripts/viewer.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

#############
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

from distutils.core import setup
from setuptools import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
Expand Down
3 changes: 2 additions & 1 deletion src/hsm/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
import signal
import logging

if sys.version_info.major == 3 and sys.version_info.minor >= 10:
if sys.version_info.major >= 3:
collections.MutableSet = collections.abc.MutableSet
collections.Iterable = collections.abc.Iterable

# Configure logging defaults
# (rospy logger config disables all unconfigured loggers other than rosout)
Expand Down

0 comments on commit 1d32ec7

Please sign in to comment.