distuils and CMake version issues in ROS Noetic

Issue #12 new
Shane Loretz created an issue

It looks like there are a couple issues that would affect this package when released to ROS Noetic. Solutions to both problems are in the ROS Noetic Migration guide.


The setup.py imports setup from distutils.core, but in Ubuntu Focal distutils is shipped separately in python3-distutils and is not guaranteed to be installed.

https://bitbucket.org/DataspeedInc/oxford_gps_eth/src/79712d85fcd70a3a8ab9d08c69bfd9545f05cf88/setup.py#lines-3

The CMakeLists.txt requires version `2.8.3`, but on Ubuntu Focal CMake will warn that CMP0048 is unset on the second CMake invocation. This happens because the buildfarm first invokes CMake to build the package, and then invokes it again to build and run tests.

https://bitbucket.org/DataspeedInc/oxford_gps_eth/src/79712d85fcd70a3a8ab9d08c69bfd9545f05cf88/CMakeLists.txt#lines-1