AndrewWalker / pydubins

Python wrapper of the C version of the Dubins-Curves library
MIT License
72 stars 54 forks source link

Fix build for python 3.9 and up #19

Closed jemathews0 closed 2 years ago

jemathews0 commented 2 years ago

The build wasn't working for python 3.9 because tp_print was deprecated but it was trying to use the already generated dubins.c file. To fix this, I added a pyproject.toml file that guarantees that Cython is available and I switched to using the cythonize call in order to skip using a pre-generated dubins/dubins.c file.