← Back to team overview

kicad-developers team mailing list archive

Re: Python functionality on Windows

 

Hi!

Can anyone tell me, whether may I wait to get full featured python
integration into KiCAD on Windows or not? If not, I will look for other
ways to solve problem.

Regards, Konstantin.

2016-02-17 21:11 GMT+02:00 Константин Барановский <
baranovskiykonstantin@xxxxxxxxx>:

> Thanks for your message, Nick.
>
> In this case support of python from pcbnew is not used.
> It (should) works in the next sequence:
> 1) start eeschema;
> 2) launch kicadbom2spec as BOM plugin from eeschema;
> 3) it launches as separate python app and get scematic file to processing.
> Now kicadbom2spec installs as separate program, independent of KiCAD. It
> also installs system wide python, wxpython and odfpy.
> On linux I can setup it as BOM plugin to eeschema without any problem.
> But when I trying to do it on Windows, I get trouble - kicad uses it own
> python instead the systemwide.
>
> For me best variant is installing kicadbom2spec as plugin to KiCAD and use
> it own python, wxpython and other. To realize this build-in python must be
> full featured.
>
> I know, those messages looks egoistic, but I started this thread because
> think, that full featured python may be helpfull for other users.
>
> Regards, Konstantin.
>
>
> 2016-02-17 19:36 GMT+02:00 Nick Østergaard <oe.nick@xxxxxxxxx>:
>
>> Hi Konstantin,
>>
>> I think I remember other people having similar wishes for this. But I
>> am not sure it will be the proper solution to include pip in the
>> installation. My reasoning is that when the kicad install is
>> uninstalled and you reinstall kicad you will loose the packages you
>> installed with pip (I think). Do you follow my concern?
>>
>> Are you using the python console inside pcbnew for this script?
>>
>> I am thinking it might be better to actually use a python install
>> outside the kicad install, and only add the pcbnew module to the
>> python module path thingie.
>>
>> Nick
>>
>> 2016-02-17 13:13 GMT+01:00 Константин Барановский
>> <baranovskiykonstantin@xxxxxxxxx>:
>> > Hello!
>> >
>> > Some time ago I wrote small program on python that creates the list of
>> the
>> > components formatted to according to GOST. It's named "kicadbom2spec"
>> and
>> > available here.
>> > kicadbom2spec uses python, wxpython and odfpy for working.
>> > Now I'm trying to install it beside KiCAD and use the common python and
>> > wxpython. But KiCAD's python don't contain pythonw for working with
>> > graphical interfaces. Also missing pip for easily installing needed
>> packages
>> > (in my case it is odfpy).
>> >
>> > So, can you integrate full python (including pip and other options) into
>> > KiCAD? I think, users will be happy to feel full power of the python in
>> > KiCAD.
>> >
>> > Regards, Konstantin.
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~kicad-developers
>> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~kicad-developers
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>
>

Follow ups

References