Closed ktbarrett closed 3 years ago
While it appears to do nothing, if you comment out the lines that generate the name of libpython for candidate_names
, you will see it return the correct path. I hope one day to remove the lines that generate candidate names and locations, and have it just know where to look exactly.
On Windows,
sys.dllhandle
provides a consistent way to access python.dll. This should be sufficient to get find_libpython to work in python.org and Anaconda distributions on Windows. Also madeis_windows=False
when witheris_msys
oris_mingw
isTrue
, since we intend to treat them differently.