← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix wrong directory building for python plugins

 

Le 22/06/2017 à 19:34, reynaud a écrit :
> Hi all,
> 
> See attached patch to use os.path.join instead of manual building of
> path.
>   The previous "plugins_dir+module" was not working in most case (when
> plugins_dir don't have a tailing "/")
> 
>   It will allow Python plugin inside directory to be correctly loaded
> when those plugins are installed inside KiCad's system plugin directory
>  (/usr/share/kicad/scripting/plugins for example in Linux)
> 
> 
> Regards,
> 

Hi Jean-Samuel,

I tried your patch, but after applying it, Pythons scripts (both action scripts and footprint
wizards) are no longer loaded (W7, 32 bits).

Sorry.

-- 
Jean-Pierre CHARRAS


Follow ups

References