Re: [Kicad-developers] Building with local Python3 etc

2021-04-29 Thread Jonatan Liljedahl
That's good news Adam! I'll stop trying here then and just wait for the next step. Let me know when there's anything to test. FYI, I installed wxpython via pip since the homebrew'd one didn't install any 'wx' module in site-packages. Cheers On Thu, Apr 29, 2021 at 3:34 PM Adam Wolf wrote: > > T

Re: [Kicad-developers] Building with local Python3 etc

2021-04-29 Thread Adam Wolf
Thanks Jon and Jonatan! I think we are only a little bit away from having this work well for developers who want to have fast local incremental builds, packagers who need robust from-scratch relocatable redistributable builds, and users who want signed and notarized builds with Python 3. The aim

Re: [Kicad-developers] Building with local Python3 etc

2021-04-29 Thread Jon Evans
I am not sure, but just FYI, the approach that Adam is investigating will not involve wrangle-bundle in the end in order to use system Python. For now I have decided to just use the Python 3.8 and wxpython builtby kicad-mac-builder because it works, and hopefully eventually it will be easy to use

Re: [Kicad-developers] Building with local Python3 etc

2021-04-29 Thread Jonatan Liljedahl
Hi, So I continued to try building with my local python3 (installed via homebrew), and wxpython installed via pip. Running wrangle-bundle first gave this output: lijon@lijon-mbp master_py3 % wrangle-bundle --python-version 3.9 --fix ../install_py3/KiCad.app Looking for issues in ../install_py3/K

Re: [Kicad-developers] Building with local Python3 etc

2021-04-29 Thread Jon Evans
Hi Jonatan, Adam and I have been bouncing ideas back and forth and he helped me get to a working setup, most recently with Seth's new_python branch but I think this should work with current master too. The key point is that we don't yet have a working way to use your system Python (but Adam has i

Re: [Kicad-developers] Building with local Python3 etc

2021-04-29 Thread Jonatan Liljedahl
I now tried manually copying my system site-packages into the bundle: cp -a /usr/local/lib/python3.9/site-packages/* /Users/lijon/Coding/kicad/build/install_py3/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ Now when starting pcbnew, console gives a lot o