WIP: Use python3 and wxpython version phoenix
This replaces !208 (closed)
Status is currently that it errors weirdly when trying to build wxpython.
@adamwwolf Do we really need to build python ourselves to make it relocatable, or do can we use pip install nowadays?
[ 90%] Performing configure step for 'wxpython'
cd /Users/nickoe/kicad-mac-builder/build/wxpython-prefix/src/wxpython && MAC_OS_X_VERSION_MIN_REQUIRED=10.15 /Users/nickoe/kicad-mac-builder/build/python-dest/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 setup.py build_ex
t WXPORT=osx_cocoa WX_CONFIG=/Users/nickoe/kicad-mac-builder/build/wxwidgets-dest/bin/wx-config BUILD_BASE=/Users/nickoe/kicad-mac-builder/build/wxwidgets/src/wxwidgets
running build_ext
cd /Users/nickoe/kicad-mac-builder/build/wxpython-prefix/src/wxpython && /usr/local/Cellar/cmake/3.17.1/bin/cmake -E touch /Users/nickoe/kicad-mac-builder/build/wxpython-prefix/src/wxpython-stamp/wxpython-configure
[ 90%] Performing build step for 'wxpython'
cd /Users/nickoe/kicad-mac-builder/build/wxpython-prefix/src/wxpython && MAC_OS_X_VERSION_MIN_REQUIRED=10.15 /Users/nickoe/kicad-mac-builder/build/python-dest/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 setup.py build WX
PORT=osx_cocoa WX_CONFIG=/Users/nickoe/kicad-mac-builder/build/wxwidgets-dest/bin/wx-config BUILD_BASE=/Users/nickoe/kicad-mac-builder/build/wxwidgets/src/wxwidgets
running build
WARNING: Building this way assumes that all generated files have been
generated already. If that is not the case then use build.py directly
to generate the source and perform the build stage. You can use
--skip-build with the bdist_* or install commands to avoid this
message and the wxWidgets and Phoenix build steps in the future.
"/Users/nickoe/kicad-mac-builder/build/python-dest/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8" -u build.py build
Will build using: "/Users/nickoe/kicad-mac-builder/build/python-dest/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8"
3.8.3 (default, May 22 2020, 21:32:05)
[Clang 11.0.3 (clang-1103.0.32.59)]
Python's architecture is 64bit
cfg.VERSION: 4.0.7
Running command: build
Running command: build_wx
Traceback (most recent call last):
File "build.py", line 2193, in <module>
main(sys.argv[1:])
File "build.py", line 206, in main
function(options, args)
File "build.py", line 1368, in cmd_build
cmd_build_wx(options, args)
File "build.py", line 1424, in cmd_build_wx
if newer(dep, os.path.join(BUILD_DIR, "Makefile")):
File "/Users/nickoe/kicad-mac-builder/build/python-dest/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dep_util.py", line 18, in newer
raise DistutilsFileError("file '%s' does not exist" %
distutils.errors.DistutilsFileError: file '/Users/nickoe/kicad-mac-builder/build/wxpython-prefix/src/wxpython/ext/wxWidgets/Makefile.in' does not exist