jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
59 stars 45 forks source link

python: remove distutils use, fix #623 #624

Closed nim65s closed 12 months ago

nim65s commented 1 year ago

Hi,

This allow compatibility with python 3.12, remove warnings on python 3.10 & 3.11, but break compatibility with python < 3.4 (for pathlib)

NB: I guess this would require multilple tests in different setups to check that this is not breaking anything.

nim65s commented 1 year ago

Also I didn't change anything in the cython/ directory. @gergondet : tell me if you prefer me to handle this in this PR, or if we should do otherwise.