I wasn't a matter of finding the interpreter. It was a matter of building wxPython with mingw. Once Brian wrote the kicad-winbuilder, there was a way to build python and wxpython with mingw that could be used to build kicad on windows. Up to that point, Linux was the only platform where kicad could be built with wxPython support. On windows and I believe early OSX builds, wxPython was not an option. It took a Herculean effort to get wxPython in a form that was useful to build kicad.
To be honest, I'm not sure wxPython is even being developed anymore. AFAIK, it still hasn't been ported to python 3 and the last release was 3.0.2 in November of 2014. On 6/7/2016 2:37 PM, Simon Wells wrote: > is that not what all the mingw stuff in the FindPythonInterp.cmake > script was for? or is it different again? > > On Wed, Jun 8, 2016 at 6:31 AM, Wayne Stambaugh <[email protected]> wrote: >> wxPython is (was?) the problem child. When the python scripting was >> originally written, wxPython wasn't always provided in a usable form on >> all platforms (think Windows with native python) so we had to be able to >> provide a python pcbnew library without wxPython support. Since the >> advent of the msys2 project, this is much less of an issue. I'm not >> sure merging these all into a single build option is completely risk free. >> >> On 6/7/2016 2:25 PM, Nick Østergaard wrote: >>> What about one that just enables all three, for example -DKICAD_PYTHON? >>> >>> And it would enable? >>> -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON >>> -DKICAD_SCRIPTING_WXPYTHON=ON >>> >>> >>> 2016-06-07 20:24 GMT+02:00 Simon Wells <[email protected]>: >>>> Is there anyone who doesn't use All or None of the python build >>>> options? As with how codependent a lot of the code has become it seems >>>> pointless still having the 3 build options. Would it not be better to >>>> just have one saying -DKICAD_PYTHON or -DKICAD_SCRIPTING? >>>> >>>> Simon >>>> >>>> _______________________________________________ >>>> Mailing list: https://launchpad.net/~kicad-developers >>>> Post to : [email protected] >>>> Unsubscribe : https://launchpad.net/~kicad-developers >>>> More help : https://help.launchpad.net/ListHelp >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~kicad-developers >>> Post to : [email protected] >>> Unsubscribe : https://launchpad.net/~kicad-developers >>> More help : https://help.launchpad.net/ListHelp >>> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

