winpython : thank you

974 views
Skip to first unread message

Sol Simpson

unread,
Oct 15, 2012, 1:15:08 PM10/15/12
to winp...@googlegroups.com
I just wanted to thank you for putting winpython together. I have been working on and off on a portable python distro for the last couple months; I was taking the .bat file approach as you illustrate, plus an idea based on the following recipe:
http://code.activestate.com/recipes/159462-how-to-set-environment-variables/. I got it 'almost' working bug free on other PCs / off USB sticks etc, but adding new modules was a 'pain'. 

You have saved me a 'ton' of time and have in effect built a portable python distro 'builder' for windows if people want to use it for that. The winpython directory can be compressed after someone added packages not included by the base winpython, and provided like that, and uncompressed  by the user wherever they like. Or by using 7zip's compress to exe feature (SFX), someone can make an 'installer' looking compressed distro  with added python packages.

Thank you so much. In a matter a just over a day I have created a custom distro based from winpython that included all the extra packages the opensourse project I am working on needs; and what used to take 30 minutes of installing package after package on a PC that did not have Python or the necessary dependencies now is a matter of downloading a 225 MB compressed folder and uncompressing it. 

Thank you again. I should also thank Christoph Gohlke for making many of the installers that winpython uses 'I think'.

I would like to offer to help out with this project if you would like any. Please feel free to contact me and let me know if there is anything I can do to help contribute to a really great idea that seems to work really well. Great job!

One thing that 'might' be nice to add is a wiki section on known installers for 32 or 64 bit that work with the base winpython distro wppm with links to the package down-loaders. 

For example, I can say so far that for the 32bit version:

- pyglet 1.1.4 zip ( http://pyglet.googlecode.com/files/pyglet-1.1.4.zip ) - WORKS : windows installer version does 'not'
- pygame-1.9.2pre.win32-py2.7.exe from Christoph Gohlke site - WORKS
- lxml-3.0.win32-py2.7.exe  from Christoph Gohlke site - WORKS
openpyxl - DID NOT WORK, but by hacking at the unzipped source contents, using the pyglet zip's setup.py as a reference, I have created a .zip version that WORKS. I will put it somewhere for download for those interested.
- wxPython-2.8.12.1.win32-py2.7.exe and wxPython-common-2.8.12.1.win32-py2.7.exe from Christoph Gohlke site - WORK

Pierre Raybaut

unread,
Oct 19, 2012, 2:18:18 PM10/19/12
to winp...@googlegroups.com
Hi,

2012/10/15 Sol Simpson <s...@isolver-software.com>:
> I just wanted to thank you for putting winpython together. I have been
> working on and off on a portable python distro for the last couple months; I
> was taking the .bat file approach as you illustrate, plus an idea based on
> the following recipe:
> http://code.activestate.com/recipes/159462-how-to-set-environment-variables/.
> I got it 'almost' working bug free on other PCs / off USB sticks etc, but
> adding new modules was a 'pain'.
>
> You have saved me a 'ton' of time and have in effect built a portable python
> distro 'builder' for windows if people want to use it for that. The
> winpython directory can be compressed after someone added packages not
> included by the base winpython, and provided like that, and uncompressed by
> the user wherever they like. Or by using 7zip's compress to exe feature
> (SFX), someone can make an 'installer' looking compressed distro with added
> python packages.

And you may even build your own installer with NSIS using the `make.py` script.
I'll write a Wiki page to explain how to build your own Python distro
installer from scratch, as soon as I have some time to spare.

> Thank you so much. In a matter a just over a day I have created a custom
> distro based from winpython that included all the extra packages the
> opensourse project I am working on needs; and what used to take 30 minutes
> of installing package after package on a PC that did not have Python or the
> necessary dependencies now is a matter of downloading a 225 MB compressed
> folder and uncompressing it.

I'm glad that you liked it and that it did make your life easier.
After all, that's exactly the reason why I'm sharing all this.

> Thank you again. I should also thank Christoph Gohlke for making many of the
> installers that winpython uses 'I think'.

Yes, you can thank Christoph as he has built % of WinPython packages.

Here are the packages used for building WinPython 2.7.3.1:

2 internal source packages: (available on WinPython's download page separately)
--------------------------

PyQtdoc-4.7.2.zip
Scidoc-1.6.2.zip

2 internal binary packages:
--------------------------

spyder-2.1.12.win32.exe
winpython-0.7.win32.exe


12 official source packages:
---------------------------

docutils-0.9.1.tar.gz
formlayout-1.0.9.tar.gz
Jinja2-2.6.tar.gz
logilab-astng-0.24.0.tar.gz
logilab-common-0.58.2.tar.gz
Pygments-1.5.tar.gz
pylint-0.25.2.tar.gz
PyVISA-1.3.tar.gz
rst2pdf-0.92.tar.gz
Sphinx-1.1.3.tar.gz
xlrd-0.8.0.tar.gz
xlwt-0.7.4.tar.gz

36 binary packages built by Christoph Gohlke:
--------------------------------------------
(actually, the most significant packages here are NumPy MKL, SciPy and
some others, but this list could have been reduced to around 5
packages... but it was so much simple to download all packages on the
same page... that's why we can thank Christophe!)

cx_Freeze-4.3.win32-py2.7.exe
Cython-0.17.1.win32-py2.7.exe
distribute-0.6.28.win32-py2.7.exe
guidata-1.5.0.win32-py2.7.exe
guiqwt-2.2.0.win32-py2.7.exe
h5py-2.1.0.win32-py2.7.exe
ipython-0.13.win32-py2.7.exe
matplotlib-1.1.1.win32-py2.7.exe
nose-1.2.1.win32-py2.7.exe
numexpr-2.0.1.win32-py2.7.exe
numpy-MKL-1.6.2.win32-py2.7.exe
pandas-0.8.1.win32-py2.7.exe
PIL-1.1.7.win32-py2.7.exe
psutil-0.6.1.win32-py2.7.exe
pydicom-0.9.7.win32.exe
pyhdf-0.8.3.win32-py2.7.exe
PyOpenGL-3.0.2.win32-py2.7.exe
PyOpenGL-accelerate-3.0.2.win32-py2.7.exe
PyQt-Py2.7-x32-gpl-4.8.6-1.exe
PyQwt-5.2.0-py2.7-x32-pyqt4.8.6-numpy1.6.1-1.exe
pyreadline-1.7.1.win32-py2.7.exe
pyserial-2.6.win32-py2.7.exe
PyWavelets-0.2.2.win32-py2.7.exe
pywin32-217.win32-py2.7.exe
pyzmq-2.2.0.win32-py2.7.exe
reportlab-2.6.win32-py2.7.exe
scikit-learn-0.12.win32-py2.7.exe
scikits-image-0.7.0.win32-py2.7.exe
scikits.timeseries-0.91.3.win32-py2.7.exe
scipy-0.11.0.win32-py2.7.exe
SQLAlchemy-0.7.9.win32-py2.7.exe
sympy-0.7.1.win32-py2.7.exe
tables-2.4.0.win32-py2.7.exe
tornado-2.4.win32-py2.7.exe
ViTables-2.1.win32-py2.7.exe
VTK-5.10.0-Qt-4.7.4.win32-py2.7.exe

> I would like to offer to help out with this project if you would like any.
> Please feel free to contact me and let me know if there is anything I can do
> to help contribute to a really great idea that seems to work really well.
> Great job!

Thanks for your proposition and for your enthousiasm!
I'll think about it.
In the meantime, I've granted you rights to create/edit wiki pages on
WinPython GoogleCode website, feel free to contribute that way if you
want to.

> One thing that 'might' be nice to add is a wiki section on known installers
> for 32 or 64 bit that work with the base winpython distro wppm with links to
> the package down-loaders.

Why not, indeed, that's a good idea.
I'll probably take a look at those non-working package to see if I can
make them work.

Please do not hesitate to modify the existing Wiki pages as well.

-Pierre

> For example, I can say so far that for the 32bit version:
>
> - pyglet 1.1.4 zip ( http://pyglet.googlecode.com/files/pyglet-1.1.4.zip ) -
> WORKS : windows installer version does 'not'
> - pygame-1.9.2pre.win32-py2.7.exe from Christoph Gohlke site - WORKS
> - lxml-3.0.win32-py2.7.exe from Christoph Gohlke site - WORKS
> - openpyxl - DID NOT WORK, but by hacking at the unzipped source contents,
> using the pyglet zip's setup.py as a reference, I have created a .zip
> version that WORKS. I will put it somewhere for download for those
> interested.
> - wxPython-2.8.12.1.win32-py2.7.exe and
> wxPython-common-2.8.12.1.win32-py2.7.exe from Christoph Gohlke site - WORK
> - PsychoPy -
> http://code.google.com/p/psychopy/downloads/detail?name=PsychoPy-1.75.01.zip
> - WORKS
>
> Thanks again. Sol
>
> --
> You received this message because you are subscribed to the Google Groups
> "WinPython" group.
> To unsubscribe from this group, send email to
> winpython+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Max Enrico

unread,
Feb 4, 2016, 7:11:04 AM2/4/16
to WinPython
Hi

I'm new to python and to winpython too.

I need opennpyxl for some works on office files (I'v alredy installed python-docx and work well)


openpyxl - DID NOT WORK, but by hacking at the unzipped source contents, using the pyglet zip's setup.py as a reference, I have created a .zip version that WORKS. I will put it somewhere for download for those interested.


Obviously I can't install openpyxl on my system... I've tried pypi and wheel package

Can you send me more info 'bourt your workaround?

Thanks
Reply all
Reply to author
Forward
0 new messages