Re: [Kicad-developers] Python functionality on Windows

2016-03-01 Thread Nick Østergaard
Ahh, yeah, sure. I forgot that, I have now installed those now. 2016-03-01 19:04 GMT+01:00 Константин Барановский : > Hi, Nick! > I installed nightly builds from here: > http://downloads.kicad-pcb.org/windows/nightly/ > kicad-product-r6599.8522b0d-i686.exe from 28-Feb-2016 17:26 > kicad-product-r6

Re: [Kicad-developers] Python functionality on Windows

2016-03-01 Thread Константин Барановский
Hi, Nick! I installed nightly builds from here: http://downloads.kicad-pcb.org/windows/nightly/ kicad-product-r6599.8522b0d-i686.exe from 28-Feb-2016 17:26 kicad-product-r6601.bd80063-i686.exe from 29-Feb-2016 17:25 In both is present python2.exe but missing pip (and setuptools). It looks like not

Re: [Kicad-developers] Python functionality on Windows

2016-02-28 Thread Nick Østergaard
Den 28/02/2016 08.00 skrev "Константин Барановский" < baranovskiykonstan...@gmail.com>: > > Hi! Now kicad-winbuilder builds the installer with python (including pythonw) and pip. Thank you all, for contributing to my suggestion, it very important to me. So, as I understand, it will be available in

Re: [Kicad-developers] Python functionality on Windows

2016-02-27 Thread Константин Барановский
Hi! Now kicad-winbuilder builds the installer with python (including pythonw) and pip. Thank you all, for contributing to my suggestion, it very important to me. So, as I understand, it will be available in next 4.0.2 release, right? Regards, Konstantin. 2016-02-27 12:48 GMT+02:00 Константин Бара

Re: [Kicad-developers] Python functionality on Windows

2016-02-27 Thread Константин Барановский
2016-02-26 12:20 GMT+02:00 Miguel Angel Ajo Pelayo : > ... > I don’t have a windows but, has anybody tried easy_install ? > > https://pythonhosted.org/setuptools/easy_install.html > ... > For me, the most important argument is that the pip can remove packages but easy_install cannot. More details

Re: [Kicad-developers] Python functionality on Windows

2016-02-26 Thread Miguel Angel Ajo Pelayo
I understand the issue with dependencies. I don’t have a windows but, has anybody tried easy_install ? https://pythonhosted.org/setuptools/easy_install.html It’s supposed to be lighter than pip, I’m not sure if it comes with the base pyth

Re: [Kicad-developers] Python functionality on Windows

2016-02-25 Thread Nick Østergaard
Thank you, your pull request has been merged. 2016-02-25 8:48 GMT+01:00 Константин Барановский : > > 2016-02-19 8:47 GMT+02:00 Nick Østergaard : >> >> ... >> 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 i

Re: [Kicad-developers] Python functionality on Windows

2016-02-24 Thread Константин Барановский
2016-02-19 8:47 GMT+02:00 Nick Østergaard : > ... > 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

Re: [Kicad-developers] Python functionality on Windows

2016-02-24 Thread Wayne Stambaugh
On 2/24/2016 4:15 AM, Miguel Angel Ajo Pelayo wrote: > > If it’s not hard to provide pip, IMHO one of the strengths of python is the > availability of lots libraries. I believe it’s ok to let the user know they > will > need to reinstall their libraries after an update. I'm OK with providing pip

Re: [Kicad-developers] Python functionality on Windows

2016-02-24 Thread Nick Østergaard
2016-02-24 1:28 GMT+01:00 Wayne Stambaugh : > On 2/23/2016 3:53 PM, Nick Østergaard wrote: >> As far as I can se, we need python2w.exe, that should be easy to add. >> But what I worry about is if we include pip, it might not work as >> expeced for the user, beacause when he upgrades he might get in

Re: [Kicad-developers] Python functionality on Windows

2016-02-24 Thread Miguel Angel Ajo Pelayo
If it’s not hard to provide pip, IMHO one of the strengths of python is the availability of lots libraries. I believe it’s ok to let the user know they will need to reinstall their libraries after an update. > On 24 Feb 2016, at 01:28, Wayne Stambaugh wrote: > > On 2/23/2016 3:53 PM, Nick Øst

Re: [Kicad-developers] Python functionality on Windows

2016-02-23 Thread Wayne Stambaugh
On 2/23/2016 3:53 PM, Nick Østergaard wrote: > As far as I can se, we need python2w.exe, that should be easy to add. > But what I worry about is if we include pip, it might not work as > expeced for the user, beacause when he upgrades he might get into > trouble if he uninstalls kicad and then inst

Re: [Kicad-developers] Python functionality on Windows

2016-02-23 Thread Wayne Stambaugh
On 2/23/2016 3:44 PM, Nick Østergaard wrote: > Hi Wayne > > Let me explain the confusion. The current scripts to build the windows > installer is found at: > https://github.com/nickoe/KiCad-Winbuilder > > It initially started becaue now one or few people cared to package for > windows. No one was

Re: [Kicad-developers] Python functionality on Windows

2016-02-23 Thread Nick Østergaard
As far as I can se, we need python2w.exe, that should be easy to add. But what I worry about is if we include pip, it might not work as expeced for the user, beacause when he upgrades he might get into trouble if he uninstalls kicad and then installs. The user will have to reinstall the modules tha

Re: [Kicad-developers] Python functionality on Windows

2016-02-23 Thread Nick Østergaard
Hi Wayne Let me explain the confusion. The current scripts to build the windows installer is found at: https://github.com/nickoe/KiCad-Winbuilder It initially started becaue now one or few people cared to package for windows. No one was using the msys2 environment at the time for builds IIRC. An

Re: [Kicad-developers] Python functionality on Windows

2016-02-23 Thread Wayne Stambaugh
AFAIK kicad-winbuilder is no longer used or maintained. KiCad is now built using msys2/mingw32 and msys2/mingw64 and the appropriate python run time requirements are installed in the same path as kicad. Package devs correct me if I'm wrong but this is a partial install of the mingw32 or mingw64 p

Re: [Kicad-developers] Python functionality on Windows

2016-02-23 Thread Константин Барановский
I'm confused. I'm not understand what is your point of view about integration python to the installation of kicad on Windows. Will it still done with kicad-winbuilder or you planning to separate python from kicad installation and to use system-wide? As I see (thank you xarx and Torsten Hüter), simp

Re: [Kicad-developers] Python functionality on Windows

2016-02-23 Thread Wayne Stambaugh
Torsten, If this is the case, it may be a better option to update the kicad PKGBUILD for msys2 so that it includes the same documentation, translations, and libraries as the windows installer and have users installed kicad along with msys2/mingw. This way the user will have a fully functional Pyt

Re: [Kicad-developers] Python functionality on Windows

2016-02-22 Thread Torsten Hüter
Hi Wayne,   this is of course true, but seems to be a misunderstanding - he needs pythonw.exe but not a python variant that is build with MSVC. And this executable is also provided by MSYS2, just look in the folder msys64\mingw64\bin for instance (python2w.exe). The difference is explained here:

Re: [Kicad-developers] Python functionality on Windows

2016-02-22 Thread Константин Барановский
> > Wayne Stambaugh: > I have no interest in using the native windows Python because the amount > of effort to implement this would not be trivial. We would have to > completely overhaul the build system for wxPython and the kicad python > scripting on windows builds to compile an link against t

Re: [Kicad-developers] Python functionality on Windows

2016-02-22 Thread Wayne Stambaugh
Konstantin, I have no interest in using the native windows Python because the amount of effort to implement this would not be trivial. We would have to completely overhaul the build system for wxPython and the kicad python scripting on windows builds to compile an link against the the native syst

Re: [Kicad-developers] Python functionality on Windows

2016-02-22 Thread xarx
. Martin. - Původní zpráva - Odesílatel: Константин Барановский Příjemce: Nick Østergaard Datum: Fri, 19 Feb 2016 10:30:43 +0200 Předmět: Re: [Kicad-developers] Python functionality on Windows > > I am not exactly sure what pythonw is, could you refresh? Is this a > > spe

Re: [Kicad-developers] Python functionality on Windows

2016-02-19 Thread Константин Барановский
> I am not exactly sure what pythonw is, could you refresh? Is this a > special windows version? > python.exe is a console (terminal) application for launching CLI-type scripts: 1. Unless run from an existing console window, python.exe opens a new console window. 2. Standard streams sys.stdin, sys

Re: [Kicad-developers] Python functionality on Windows

2016-02-18 Thread Nick Østergaard
I am not exactly sure what pythonw is, could you refresh? Is this a special windows version? 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? And further, I would like othe

Re: [Kicad-developers] Python functionality on Windows

2016-02-18 Thread Константин Барановский
Hi! Can anyone tell me, whether may I wait to get full featured python integration into KiCAD on Windows or not? If not, I will look for other ways to solve problem. Regards, Konstantin. 2016-02-17 21:11 GMT+02:00 Константин Барановский < baranovskiykonstan...@gmail.com>: > Thanks for your mess

Re: [Kicad-developers] Python functionality on Windows

2016-02-17 Thread Константин Барановский
Thanks for your message, Nick. In this case support of python from pcbnew is not used. It (should) works in the next sequence: 1) start eeschema; 2) launch kicadbom2spec as BOM plugin from eeschema; 3) it launches as separate python app and get scematic file to processing. Now kicadbom2spec instal

Re: [Kicad-developers] Python functionality on Windows

2016-02-17 Thread Nick Østergaard
Hi Konstantin, I think I remember other people having similar wishes for this. But I am not sure it will be the proper solution to include pip in the installation. My reasoning is that when the kicad install is uninstalled and you reinstall kicad you will loose the packages you installed with pip

[Kicad-developers] Python functionality on Windows

2016-02-17 Thread Константин Барановский
Hello! Some time ago I wrote small program on python that creates the list of the components formatted to according to GOST. It's named "kicadbom2spec" and available here . kicadbom2spec uses python, wxpython and odfpy for working. Now I'm trying to install it