← Back to team overview

kicad-developers team mailing list archive

Re: Win32 compilation for kicad scripting


Thanks Luis,

May be we might just lear from Bleneder people frustration and provide a
python DLL + site-packages inside KiCad
Win32 installation. If the user has it's own installation (and libraries)
then they could point to it with PYTHONPATH.

I've just installed Blender in a Win32 to test, and they:

1) Add Python.dll to the main binary directory (where exes reside), so at
load time their installed .dll has the priority to load  (2MB)
2) They include a "python" directory with all the python library that come
as .py (10MB)

2012/7/23 Luis F. Ruiz Gago <lfruiz@xxxxxxx>:
> Hi all,
> On 07/23/2012 03:25 PM, Dick Hollenbeck wrote:
>> Blender might be one to look at (but a couple other data points are
>> encouraged also). Blender is heavily dependent on python, and has
>> tight scripting integration. Does it run on Windows? If so, something
>> be learned about what are they doing for the poor Windows users.
> Before Blender 2.5, it was required to install a full python distribution
> and then you had to set up some environment variables.
> Now Python is provided within Blender installation, AFAIK. All required
> Python Modules are in Blender install folder:
> [...]Blender_2.5\.blender\python\lib
> I have not used Blender for a long time, but I remember the environment
> solution as a pain. In Blender forums "how to set PYTHONPATH"  was a
> recurrent newbie question.
> Hope this helps,
> Luis.
> _______________________________________________
> 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


Miguel Angel Ajo Pelayo
+34 636 52 25 69
skype: ajoajoajo