go-python / gopy

gopy generates a CPython extension module from a go package.
BSD 3-Clause "New" or "Revised" License
2.05k stars 113 forks source link

Paths with spaces not handled for Python paths #268

Open astrelsky opened 3 years ago

astrelsky commented 3 years ago

Even when the environment variables LIBDIR, GOPY_LIBDIR, LIBRARY and GOPY_PYLIB are properly set and surrounded with quotes (even tried double quoting with the inner pair escaped) spaces in the path are not properly handled. I had to move my python installation from C:\Program Files\Python3 up to C:\Python3 to get a package to build.