winpython (after) rc1 in all flavours

138 views
Skip to first unread message

stonebig

unread,
Aug 16, 2014, 7:59:53 AM8/16/14
to winp...@googlegroups.com
Hi All,

Here is the end resultof my summer work to refresh winpython :

rc1 builds for python 2.7.8 / 3.5.5 / 3.4.1 , in 32 / 64bit :
   https://sourceforge.net/projects/stonebig.u/files/Winpython_2.7betas/
   https://sourceforge.net/projects/stonebig.u/files/Winpython_3.3betas/
   https://sourceforge.net/projects/stonebig.u/files/Winpython_3.4betas/


Change from last April 2014 Pierre builds :
   - Julia magic / Ijulia integration : procedure in scripts\start_ijulia.bat
   - R magic integration : (rough) procedure in scripts\start_with_r.bat
   - integrated compiler for winpython-32bit cython : procedure in scripts\make_cython_use_wingw.bat
   - IDLE icon (for french exams)
   - update of all packages (IPython 2.2),
   - addition of new packages :
        . SQL related packages (sqlite_bro, IPython-sql, postgresql and mysql 'pure python' drivers),
        . Graphic-trend packages ( mpld3 / brewer2mpl, seaborn, ggplot) ,
        . multi-task packages (joblib)
   - removal of packages :
        . PySide (redundant  with PyQt),
        . PyVISA, PyWavelets, VTK-Qt, ViTables, egenix-mx-base, pydicom
        . rst2pdf, scikits.audiolab, xlwt


Technical remarks :
    - there is 'no' compiler included for winpython-64bit cython :
        . mingw didn't play nice and exploring alternatives is another 'summer project',
        . for people willing to explore that aera, maybe see :  http://blog.httrack.com/blog/2014/02/21/fancy-standalone-visual-c-plus-plus-compiler/
    - two temporary shortcuts remains in current rc1 :
      . ipython-sql package was re-build from github as outdated on pypi,
      . fake packages : pre-'julia' (to get julia magic) isn't even published yet on pypi.
 

Special thanks to Christoph Gohlke, without whom :
  - Winpython, and probably Python on Windows, would not be as good as today,
  - I would have lost myself in some tricky details of winpython and mingw.


Changelogs attached (6 files : 1  per version)

Regards,




WinPython-32bit-2.7.8.1_rc1_description.txt
WinPython-64bit-2.7.8.1_rc1_description.txt
WinPython-64bit-3.3.5.1_rc1_description.txt
WinPython-32bit-3.3.5.1_rc1_description.txt
WinPython-32bit-3.4.1.1_rc1_description.txt
WinPython-64bit-3.4.1.1_rc1_description.txt

Jim Passmore

unread,
Aug 16, 2014, 8:42:28 PM8/16/14
to winp...@googlegroups.com
That's great, stonebig!  I was just wondering yesterday what the status was of your 3.4 efforts.  Given that Pierre isn't able to contribute as much as he used to, it's good that someone has been able to step in.  And as I love the WinPython concept, I hope the project continues.  To that end, can you document what you've learned so others can produce the same end result?  It's obvious you spent a lot of time, and several iterations before you put out a "release candidate," and you mentioned some "tricky details"... 

Jim

stonebig

unread,
Aug 17, 2014, 5:50:46 PM8/17/14
to winp...@googlegroups.com
Hi Jim,

You're right : a cleaner and up-to-date documentation is the priority now.

I may do it on Github, as I currently feel more comfortable there.

Wagner Sebastian

unread,
Aug 18, 2014, 7:24:45 AM8/18/14
to winp...@googlegroups.com

Hi,

 

First, Thanks for your effort on continuing Winpython.

 

I just downloaded the 2.7.8 32 and 64bit variants to test them and noticed that pyflakes, rope and pep8 are not included. Installing them via pip works fine, but having them out of the box for full Spyder-functionality would be fine.

I found a thread[1] on this list from December, saying that they weren’t included, is this also true for this case?

 

Regards,

Sebastian

 

  [1]: https://groups.google.com/forum/#!searchin/winpython/pyflakes/winpython/8f8IqejB_bc/FTVGH2o67isJ

--
You received this message because you are subscribed to the Google Groups "WinPython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to winpython+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

stonebig

unread,
Aug 18, 2014, 12:31:40 PM8/18/14
to winp...@googlegroups.com, sebastian...@ait.ac.at
Hi Sebastian,

pep8 is ok :
- the most popular on pypi (484 K downloads a month),
- small,
- I use it elsewhere, and shows other things than pylint (the current code checker),
- has an existing option in Spyder menu.
==> Will do.

rope is not ok in current state :
- two flavors needed : rope+rope_py3k ==> more complexity
- weak popularity on pypi =  7k download a month (vs 484k for pep8)
- failed to build on winpython 3 (not tested 2), lost an afternoon trying last month.

pyflakes is not ok :
- seems redudant with pylint,
- it's written on their website that they are less good than pylint. (https://launchpad.net/pyflakes)
"Unlike PyLint, Pyflakes checks only for logical errors in programs"

Regards,

stonebig

unread,
Aug 19, 2014, 2:23:08 PM8/19/14
to winp...@googlegroups.com, sebastian...@ait.ac.at
Thinking again,

I will integrate ropes, If I can solve the build issue.

stonebig

unread,
Aug 19, 2014, 4:29:14 PM8/19/14
to winp...@googlegroups.com, sebastian...@ait.ac.at
Hi Sebastian,

Please have a try of WinPython-64bit-2.7.8.1_rc2.exe and let me know if it's better like that.

Addition from rc1  (for 2.7) :
- pep8 (pep8 checker)
- rope (completion of code in spyder editor)

At the moment, still the winpython build problem in 3.4.

Sol Simpson

unread,
Aug 19, 2014, 7:31:28 PM8/19/14
to winp...@googlegroups.com
This is great stonebig. Thank you for putting in so much effort.

Regarding dropping vitables from the distro, is it difficult to keep this in WinPython? It is very handy to have a hdf5 viewer included when pytables is being used for example.

Thanks again,

Sol

stonebig

unread,
Aug 20, 2014, 1:30:26 AM8/20/14
to winp...@googlegroups.com
Hi Sol,

I re-started Winpython from winpython 3.3.5.0, and "vitables" was not in its package index.
There is a Python 3 package now, and it is small, so I may add it in next rc.

Wagner Sebastian

unread,
Aug 20, 2014, 3:44:10 AM8/20/14
to winp...@googlegroups.com

Hi,

 

Thanks for including rope again in py 2, It works fine in RC2! I would have insisted on including it either :D

Concerning rope on Python 3, there is an open issue in their bugtracker: https://github.com/python-rope/rope/issues/57 So it seems Python 3 isn’t supported at all by rope?!

In prior versions of Winpython, Spyder automatically showed the help of a function in the object inspector after typing the left-paranthesis. It can be enabled in the preferences > object inspector > automatic connection again, but it would be nice to have I as default. It’s in spyder.ini in section [inspector], values connect/*

Also, some packages were loaded automatically in the console (NumPy, SciPy, Matplotlib + guidata, guiqwt), this has been achieved by the included custom startup script, which is now disabled. It can be enabled in the ini by setting pythonstartup/default = False and pythonstartup/custom = True The path is already set correctly.

 

Pyflakes is needed by Spyder for checking the code for syntax errors without running the Skript. Using pylint instead of pyflakes is impossible in my opinion as it has a more overhead (it checks much more things that are not needed most of the time) and can’t handle modules correct (No function/variable inside a module is recognized by pylint and thus gives an error, So I have 30 errors per Skript but none of them is correct). Additionally, running pylint on some code requires a working code without syntax errors. To see where the first one is, I have to run pylint, open the plain output and fix it. Pylint is no alternative to pyflakes, it’s a mix of pep8 and running the script itself.

 

Regards,

Sebastian

stonebig

unread,
Aug 20, 2014, 1:03:06 PM8/20/14
to winp...@googlegroups.com, sebastian...@ait.ac.at
Hi Sebastian,

***************************

Concerning rope on Python 3, there is an open issue in their bugtracker: https://github.com/python-rope/rope/issues/57 So it seems Python 3 isn’t supported at all by rope?!

***************************
Thanks for the link :
- I didn't notice rope (for python2) was there,
- I saw the rope-py3k maintainer in the thread.

I tested rope-py3k by a manual "pip install rope-py3k" on my winpython, and it was apparently working,
The problem seems a devil's detail during winpython building.
==> I whish to try a little more before giving up.

***************************
In prior versions of Winpython, Spyder automatically showed the help ...
***************************
Winpython is easier to maintain by keeping default settings, doing otherwise may kill me.
==> Please ask this to the Spyderlib team.

***************************
Also, some packages were loaded automatically in the console
(NumPy, SciPy, Matplotlib + guidata, guiqwt) ...
***************************
If your speaking of the "Ipython" icons :
- the IPython team did recommand to remove the "--pylab=inline" option,
- I applied the recommandation : http://carreau.github.io/posts/10-No-PyLab-Thanks.ipynb.html
==> Is it what you mean ?

***************************
Pyflakes
... Pylint
***************************
I don't feel to change also that in this release.

stonebig

unread,
Aug 20, 2014, 2:04:04 PM8/20/14
to winp...@googlegroups.com, sebastian...@ait.ac.at
hum,

in utils.py (around line 370) , winpython try to "re.match(pattern, distname)" 
pattern= "([a-zA-Z0-9\-\_]*|[a-zA-Z\-\_\.]*)-([0-9\.]*[a-z]*[0-9]?)(-Qt-([0-9\.]+))?.win32(-py([0-9\.]+))?(-setup)?\.exe"
distname="rope-0.9.4-1.win32.exe"

... and fails.

so I will change
WININST_PATTERN = r'([a-zA-Z0-9\-\_]*|[a-zA-Z\-\_\.]*)-([0-9\.]*[a-z]*[0-9]?)(-Qt-([0-9\.]+))?.(win32|win\-amd64)(-py([0-9\.]+))?(-setup)?\.exe'

per

WININST_PATTERN = r'([a-zA-Z0-9\-\_]*|[a-zA-Z\-\_\.]*)-([0-9\.\-]*[a-z]*[0-9]?)(-Qt-([0-9\.]+))?.(win32|win\-amd64)(-py([0-9\.]+))?(-setup)?\.exe'


... and it should do an rc3 (with rope-py3k and Vitables)

stonebig

unread,
Aug 21, 2014, 1:39:05 AM8/21/14
to winp...@googlegroups.com, sebastian...@ait.ac.at
ok so,

rc3 = rc2 + Vitables + rope-py3k (for Python3.x versions)

currently uploaded on https://sourceforge.net/projects/stonebig.u/files/ are

        MD5                SHA-1
-------------------------------------------------------------------------
d6274ae617984ce6ecf849f9091bc9ab 0d2099a06d8f440c0f4b30bbd6744b5449310b10 build\winpython-32bit-3.4.1.1_rc3.exe
7060229d6d60c9b2e11c2a92f4ece9de 0a5fee9165a543859bec295d2771220858f2b9e5 build\winpython-64bit-2.7.8.1_rc3.exe


Regards,
Reply all
Reply to author
Forward
0 new messages