← Back to team overview

kicad-developers team mailing list archive

Re: Packaging the python footprint wizards for the release

 

Hmm, that's a good point, I guess we should install them to

$KICAD_PATH/scripting/plugins

as it's the standard place where kicad will try to load them from [1]

[1] https://github.com/KiCad/kicad-source-mirror/blob/master/scripting/kicadplugins.i#L85

Nick Østergaard wrote:
Hi

What is the plan for the python footprint wizrards [1]?

I was trying to figure out how they were supposed to be installed, as
it looks now, it seems that they are not installed by cmake [3]. I see
that the eeschema bom pluings (the xsl files [2]) are intalled with
cmake, but that [1] is not, although it seems like they sould be
installed if we look at [3], but only if APPLE. And it seemt hat if
not __MINGW32__ or __WXMAC__ then we use the completely hardcoded path
on linux to /usr/local/kicad/bin/scripting/plugins ! [4].

Although I can put them in ~/.kicad_plugins and they will work too.
But I am not exactly sure where this is defined.

So what is the desired way to fix this issue? As is now it makes it
difficult to package the footprint wizards, because it is not
instlaled with cmake nor is there a dynamic path defined on linux.

Regards
Nick Østergaard

[1] https://github.com/KiCad/kicad-source-mirror/tree/master/pcbnew/scripting/plugins
[2] https://github.com/KiCad/kicad-source-mirror/tree/master/eeschema/plugins
[3] https://github.com/KiCad/kicad-source-mirror/blob/edbcf2d0cb5b6cd41f2c8f5da02eea83a87e23f5/pcbnew/CMakeLists.txt#L662
[4] https://github.com/KiCad/kicad-source-mirror/blob/edbcf2d0cb5b6cd41f2c8f5da02eea83a87e23f5/pcbnew/pcbnew.cpp#L244

_______________________________________________
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