cyang-kth / fmm

Fast map matching, an open source framework in C++
https://fmm-wiki.github.io/
Apache License 2.0
892 stars 215 forks source link

Remove version constraint on Python #163

Closed cmpute closed 3 years ago

cmpute commented 3 years ago

Remove version constraint on Python so that it's compatible with Python 3. After this fix one doesn't need to use

-DPYTHON_LIBRARY=/home/chuang/anaconda3/envs/vis20/lib/libpython3.6m.so
-DPYTHON_INCLUDE_DIR=/home/chuang/anaconda3/envs/vis20/include/python3.6m

to specify library as in #160. This also fixes #159, #5

When I was testing, I didn't meet any problem without specifying set_property(TARGET pyfmm PROPERTY SWIG_COMPILE_OPTIONS -py3)