← Back to team overview

kicad-developers team mailing list archive

How to compile with Python support?

 

Hi all,

I've just discovered kicad and seen that there is(was?) a python scripting
support embedded into it.

I've tried to build from source kicad on my linux box (seems more easy) but
I could'nt manage to get python support.

Reading the TODO list of CMake, I've seen it is not yet supported with
cmake.

Is there another wat to compile kicad with python support?

Does it works well and is it very used (seems not L ). If it is not very
used, can you explain what are the current problem of the python binding if
any?


Regards,

Laurent





 ------=_NextPart_000_0026_01C87CB6.1310F670 Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"; xmlns=3D"http:=
//www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DFR link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span lang=3DEN-US>Hi all,<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US>I&#8217;ve just discovered kicad an=
d seen that
there is(was?) a python scripting support embedded into it.<o:p></o:p></spa=
n></p>

<p class=3DMsoNormal><span lang=3DEN-US>I&#8217;ve tried to build from sour=
ce kicad on my
linux box (seems more easy) but I could&#8217;nt manage to get python suppo=
rt&#8230;<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US>Reading the TODO list of CMake,&nbs=
p; I&#8217;ve
seen it is not yet supported with cmake.<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US>Is there another wat to compile kic=
ad with
python support?<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US>Does it works well and is it very u=
sed
(seems not </span><span lang=3DEN-US style=3D'font-family:Wingdings'>L</spa=
n><span
lang=3DEN-US> ). If it is not very used, can you explain what are the curre=
nt
problem of the python binding if any?<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US>Regards,<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US>Laurent<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>
 ------=_NextPart_000_0026_01C87CB6.1310F670-- 




Follow ups