← Back to team overview

kicad-developers team mailing list archive

Re: Scripting build on Windows

 

Thanks a lot Brian, you're doing an awesome work!!!, it seems that it was
harder than expected, but it looks like you already found the way :)

May be it's worth asking them and using their binary build for Python, they
include gtk/etc, that can be useful to us... :), why replicating work?

We could bundle Python with kicad as they (and other) projects do.

Best regards,
Mike,


2012/11/2 Brian Sidebotham <brian.sidebotham@xxxxxxxxx>

> On 31 October 2012 06:16, Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx>wrote:
>
>> Hi Brian, I'm not sure how dependent is wxPython on Cairo, if it's
>> recommended as '0' but they enable it,
>> may by it's needed. But it's just a feeling, 0-knowledge.
>>
>> Do you have some branch for this that I could replicate and play around
>> to figure out what's happening?
>> or it's tested manually at the moment?
>>
>> Also a binary package (with some debug info) could do the trick for me
>>
>> I'd like to trace that wxpython init call down, and find where does it
>> stop (and why).
>>
>> Thanks a lot for your effort,
>>
>> Mike,
>>
>>
> Hi Mike,
>
> I had to stop looking at the build for a while, but I should get another
> chance to look at it earlier next week. It would seem that we need to
> compile Python with MinGW, and wxPython.
>
> I had a quick look at the source for Inkscape and they have a separate
> repository which includes a pre-built python for Windows which gets
> included with their installer. They do not have it as a build process for
> building Inkscape though, only as a separate pre-built binary:
> https://launchpad.net/inkscape-devlibs
>
> I suspect this may have to be the route that KiCad goes down in order to
> package the new scripting functionality. At least it means that we can
> totally control the python version on Windows.
>
> I don't have a branch, but maybe I should create one. It is likely there
> will have to be changes in order to build scripting support for Windows.
> Even the find_package( stuff uses the registry (yuck!) entries to discover
> where python is located and this will always be wrong because we are using
> MinGW to build the KiCad binaries, not MSVC which the standard python
> install is built with.
>
> Best Regards, Brian.
>
>


-- 

Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo

References