nixprime / cpsm

A CtrlP matcher, specialized for paths.
Apache License 2.0
202 stars 19 forks source link

Fix compiling with Python 3.8 (at least on macOS) #57

Closed jandamm closed 4 years ago

jandamm commented 4 years ago

As stated here, starting from Python 3.8 python3-config has to be called with --embed in order to link to python itself. To be backwards compatible it should always be tried with --embed and when it fails retrying without. This is the logic implemented.

Closes #56