← Back to team overview

kicad-developers team mailing list archive

Re: Python scripting cmake build macros.


Argh, no need to apologize Wayne, I hope they can recover your system
and provide you with something that works in an stable way.

I really hate when those things happen, 4-5 years ago I had a problem like
this with a couple of laptops, after some time we suspected of power surges
in the electrical line, because some more little things died around, and I
astonished with the fact that the power adapter (2 different models)
didn't kill those surges properly, which surprisingly only killed the
hard-disks ...

I wish you good luck with the repair.

for the time being, I've been able to build a couple of packages:

http://dev.kicad-pcb.org/pkgs/Python-2.7.1-mingw32-builder.tar.gz  <--
those are my cross build scripts at the moment that expect some files in
"archive" directory.

The python-2.7.1 we've built runs for win32, and I'm installing it to
C:\Python, but could go other places

It's important to set those vars before execution:

set PYTHONHOME=C:\Python
set PYTHONPATH=C:\Python\lib\python2.7;C:\Python\pyd

And it also provides include files and .a libs

It took me ages to figure that I had missaplied one of the patches (the 05
one, that needed patch -p1 instead of -p0) and didn't let me build the .dll
version for win32.

Also "CRYPT" and "PYEXPAT" packages are disabled now for a lack of

This killed all my spare time from the last email on the topic, which it's
been a lot more than expected.

I'm afraid that I'll need to ask for a lot of help if we really want to
build a set of shiny packages.

My next step is trying to compile the wxpython + kicad with this python
binary package, but I will wait until you can recover your data, may be
others are happy trying our shiny mingw-win32 python package :-)

Greetings, Mike

2013/1/20 Wayne Stambaugh <stambaughw@xxxxxxxxxxx>

> On 1/16/2013 12:56 PM, Wayne Stambaugh wrote:
> > On 1/16/2013 12:16 PM, Miguel Angel Ajo Pelayo wrote:
> >> Other option we could have right now is compile out the wxpython
> support and provide
> >> only embedded python scripting + python pcbnew module for windows users.
> >>
> >> In that case, next functionalities are lost:
> >>
> >> 1) PyCrust shell inside pcbnew
> >> 2) Ability to create and run own wx-uis in the embedded python
> scripting.
> >>
> >> And we keep:
> >>
> >> 3) pcbnew module for commandline python scripting
> >> 4) embedded pcbnew wizards & plugins
> >>
> >> Wayne, could you document the steps you followed until now so I can try
> to reproduce it and fight a little bit in this war ?
> >
> > Please see my response to Adam.  I'll add the Pthon command line
> > scripting build instructions for Windows using MinGW to
> > Documentation/compiling/COMPILING.txt in my next commit.
> Bad news Miguel.  I was almost ready to commit this when my home system,
> which I just got back from HP's warranty repair service the week before
> Christmas, died again.  I've already contacted HP service but it will
> likely be at least a week before I get my system back.  Needless to say
> I am not happy.  This will be the third time (one disk drive and one
> motherboard) the system has had problems since I bought it.  I apologize
> for the delay.  As soon as I get my system back, I'll get this committed.
> Wayne
> >
> >>
> >>
> >> Miguel Angel Ajo
> >> http://www.nbee.es
> >> +34911407752
> >> skype: ajoajoajo
> >>
> <<<snipped>>>


Miguel Angel Ajo Pelayo
+34 636 52 25 69
skype: ajoajoajo

Follow ups