← Back to team overview

kicad-developers team mailing list archive

Re: KiCad scripting supported in the release or not

 

Shamelessly pilfered from the movie "Karate Kid",

build config tools rule #1: Always check for features, not platforms.
build config tools rule #2: go back and learn rule #1.

Yes we could check for msys but it is possible (however painful) that
someone may have actually patched, built, and installed python on mingw
(in fact the msys2 folks and Brian's kicad-winbuilder have kindly done
that for us) so testing for existence of python is a more robust test
which will work on every platform.  However, the existence of python on
the build system does not ensure it's existence on the install target
system unless you use a system that has some kind of package manager
that ensures the dependencies are met.

On 10/2/2015 11:12 PM, David Godfrey wrote:
> Surely it would be possible to detect which msys version is available,
> and automatically enable scripting if msys2 is found?
> 
> 
> On 03/10/15 02:32, Wayne Stambaugh wrote:
>> This cannot be done because of the old msys1/mingw32 builds which
>> require Brian's kicad-winbuilder in order to build all of the
>> dependencies correctly.  Build python and wxpython on msys1/mingw32 is a
>> major hassle which has been eliminated with the new msys2/mingw32/64.
>> For the stable release, I would prefer that packagers enable scripting
>> on a case by case basis.  We certainly can discuss turning it on by
>> default after the stable release and dumping support for the old
>> msys1/mingw32 platform.
>>
>> On 10/2/2015 2:24 PM, Nick Østergaard wrote:
>>> Hello
>>>
>>> Since we have been discussing the python scripting stuff recently, I
>>> would like to hear if it is supposed to be officially supported or
>>> not.
>>>
>>> The thing is that it is by default OFF in the build scripts. This is
>>> choice likely to affect many linux distributions build configuraiton.
>>>
>>> I would actually suggest that we enable it by default. Any comments?
>>>
>>> Regards
>>> Nick
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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
>>
> 
> 
> _______________________________________________
> 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