← Back to team overview

kicad-developers team mailing list archive

Re: How to compile with Python support?

 

Laurent Dufrechou wrote:
Thanks dick for the update!
Ok I will wait until all is stabilized. If you need help in the future to
make the binding I can help a little, I've used SWIG (that completely
automate the binding) for a big complex C++ project (which used all C++
trick templates, overloading, polymorphism, C array to numpy array
conversion etc...).
Ho and if you need a better shell for python I'm currently working on
ipython console for wx, so could be interesting for you too.
So, if you need help in the future, drop me an email!

Regards,
Laurent


Thanks for your offer!
I will try and remember to get back to you later.


There are 3 reasons that we are leaning away from SWIG and towards Boost.Python for the python bindings:

1) We are already using Boost C++.

2) We are already using Boost.Python for the Kicad binary.

3) There was a discussion on this list about SWIG vs. Boost.Python vs. other alternatives about 6 months ago, and Boost.Python won the discussion as I recall. In this discussion I played the role of moderator, not advocate.

It is too early and undesirable to re-visit this decision, but I just wanted to let you know and give you a heads up.


Thanks,

Dick








Follow ups

References