You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that the generated binary for Mac OSX and Cygwin is not `python`...it's `python.exe` because the FS used in Mac OS (HFS+) is case insensitive per default and that would create conflicts with the generated folder `Python` by the python's build system.
So we:
- add cls attribute `HostPythonRecipe.python_bin` (which will be different depending on the build platform)
- implement `HostPythonRecipe.should_build` to refactor a little
- check the library instead of the executable to decide if we must build python's recipe (to avoid conflicts with case insensitive FS)
- add message which prints the files/folders of the hostpython's build directory
- fix `PythonRecipe.real_hostpython_location` because the hostpython's executable name will change depending on the build platform
- fix python's build when host OS is an Mac OSX (via patch: `fix-interpreter-for-darwin.patch`)
See also: https://github.com/python/cpython/blob/3.7/README.rst#build-instructions
Note: @TheSin- , thanks for your debugging sessions and lines of code
0 commit comments