← Back to team overview

kicad-developers team mailing list archive

Re: Python functionality on Windows

 

2016-02-19 8:47 GMT+02:00 Nick Østergaard <oe.nick@xxxxxxxxx>:

> ...
> On a side note, someone have noted that the python is broken on the
> latest windows nightlies, would you try to confirm that? As in, can it
> open the python console in pcbnew?
> ...
>
>
I'm found the reason why pyshell does not works on nightly builds, see
attached patch.

Regards, Konstantin.
diff --git a/nsis/install.nsi b/nsis/install.nsi
index 68efc45..ea08f13 100644
--- a/nsis/install.nsi
+++ b/nsis/install.nsi
@@ -235,6 +235,8 @@ SectionEnd
 
 Section $(TITLE_SEC_FPWIZ) SEC04
   SetOverwrite try
+  SetOutPath "$INSTDIR\share\kicad\scripting\kicad_pyshell"
+  File /nonfatal /r "..\share\kicad\scripting\kicad_pyshell\*"
   SetOutPath "$INSTDIR\share\kicad\scripting\plugins"
   File /nonfatal /r "..\share\kicad\scripting\plugins\*"
 SectionEnd

Follow ups

References