Python 3.5, wxPython Phoenix and py2exe

This is really a question for the Py2exe folks, but a note or two:

Python3.5 is built with MSVS 14 (VS 2015, I think – the version numbers / names are maddening!)

https://wiki.python.org/moin/WindowsCompilers

THis is a new an different approach to bundling the run time libs and stuff, so I’m not the least surprised that a py2exe setup for py3.3 would not work right.

Can’t say I have any suggestions, though – but start with looking for folks using py2exe with py3.5 (or maybe check out pyinstaller instead)

-CHB

···

On Sat, Nov 19, 2016 at 5:39 PM, Boštjan Mejak bostjan.xperia@gmail.com wrote:

I am running Windows 10 (64 bit), Python 3.5, latest wxPython Phoenix snapshot build (2016-10-27 04:19) for my version of Python and OS, and the latest version of py2exe (version 0.9.2.2).

I’ve made a wxPython Phoenix app a while ago. The app was coded running Python 3.3 and the appropriate wxPython Phoenix snapshot build for it.

Back then, I’ve made an executable distribution of the app using py2exe.

Now I upgraded my Python version to 3.5, wxPython Phoenix’s snapshot build accordingly, and py2exe as well (can’t recall which version of py2exe I had back then). I am now no longer able to create the same executable distribution of the app. Please note that the code of the app was not modified in any means, it’s the very same as it was.

I left my project to rest for quite a while and kind of forget about it, but now I want to expand it (yay, more features!). Just for a test, I tried to create an executable distribution of my app with this latest and greatest tools (Python, wxPython Phoenix, and py2exe) and it turns out I can’t.

py2exe runs, but the ‘dist’ folder contains only a ZIP file with copies of the app’s modules, no EXE file is there and nothing really to actually distribute.

What on Earth have they done to the tools that don’t work as they used to?

What should I do to make this baby work again?


The contents of my setup.py script for this app are:


from setuptools import setup

import py2exe

setup(name=“Test”,

version=“1.0”,

author=“Boštjan Mejak”,

author_email="bostjan.xperia@gmail.com",

license=“GPLv3”)

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Try to look at other alternatives to Py2Exe such as PyInstaller, cx_Freeze, bbfreeze, or py2app (on Mac).

Hope this helps.

···

On Mon, Nov 21, 2016 at 8:57 AM, Chris Barker chris.barker@noaa.gov wrote:

This is really a question for the Py2exe folks, but a note or two:

Python3.5 is built with MSVS 14 (VS 2015, I think – the version numbers / names are maddening!)

https://wiki.python.org/moin/WindowsCompilers

THis is a new an different approach to bundling the run time libs and stuff, so I’m not the least surprised that a py2exe setup for py3.3 would not work right.

Can’t say I have any suggestions, though – but start with looking for folks using py2exe with py3.5 (or maybe check out pyinstaller instead)

-CHB

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

On Sat, Nov 19, 2016 at 5:39 PM, Boštjan Mejak bostjan.xperia@gmail.com wrote:

I am running Windows 10 (64 bit), Python 3.5, latest wxPython Phoenix snapshot build (2016-10-27 04:19) for my version of Python and OS, and the latest version of py2exe (version 0.9.2.2).

I’ve made a wxPython Phoenix app a while ago. The app was coded running Python 3.3 and the appropriate wxPython Phoenix snapshot build for it.

Back then, I’ve made an executable distribution of the app using py2exe.

Now I upgraded my Python version to 3.5, wxPython Phoenix’s snapshot build accordingly, and py2exe as well (can’t recall which version of py2exe I had back then). I am now no longer able to create the same executable distribution of the app. Please note that the code of the app was not modified in any means, it’s the very same as it was.

I left my project to rest for quite a while and kind of forget about it, but now I want to expand it (yay, more features!). Just for a test, I tried to create an executable distribution of my app with this latest and greatest tools (Python, wxPython Phoenix, and py2exe) and it turns out I can’t.

py2exe runs, but the ‘dist’ folder contains only a ZIP file with copies of the app’s modules, no EXE file is there and nothing really to actually distribute.

What on Earth have they done to the tools that don’t work as they used to?

What should I do to make this baby work again?


The contents of my setup.py script for this app are:


from setuptools import setup

import py2exe

setup(name=“Test”,

version=“1.0”,

author=“Boštjan Mejak”,

author_email="bostjan.xperia@gmail.com",

license=“GPLv3”)

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov


*Wouldn’t you rather do Business with us? *
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any use of the email by you is prohibited. If you have received
this communication in error, please notify the author by replying to this
e-mail immediately.


www.BintaSMS.com <http://www.bintasms.com/>
www.BintaComputers.net <http://www.bintacomputers.net/>

Good to hear.

Cheers

···

On Mon, Nov 21, 2016 at 8:57 AM, Chris Barker chris.barker@noaa.gov wrote:

This is really a question for the Py2exe folks, but a note or two:

Python3.5 is built with MSVS 14 (VS 2015, I think – the version numbers / names are maddening!)

https://wiki.python.org/moin/WindowsCompilers

THis is a new an different approach to bundling the run time libs and stuff, so I’m not the least surprised that a py2exe setup for py3.3 would not work right.

Can’t say I have any suggestions, though – but start with looking for folks using py2exe with py3.5 (or maybe check out pyinstaller instead)

-CHB

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


*Wouldn’t you rather do Business with us? *
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any use of the email by you is prohibited. If you have received
this communication in error, please notify the author by replying to this
e-mail immediately.


www.BintaSMS.com <http://www.bintasms.com/>
www.BintaComputers.net <http://www.bintacomputers.net/>

On Sat, Nov 19, 2016 at 5:39 PM, Boštjan Mejak bostjan.xperia@gmail.com wrote:

I am running Windows 10 (64 bit), Python 3.5, latest wxPython Phoenix snapshot build (2016-10-27 04:19) for my version of Python and OS, and the latest version of py2exe (version 0.9.2.2).

I’ve made a wxPython Phoenix app a while ago. The app was coded running Python 3.3 and the appropriate wxPython Phoenix snapshot build for it.

Back then, I’ve made an executable distribution of the app using py2exe.

Now I upgraded my Python version to 3.5, wxPython Phoenix’s snapshot build accordingly, and py2exe as well (can’t recall which version of py2exe I had back then). I am now no longer able to create the same executable distribution of the app. Please note that the code of the app was not modified in any means, it’s the very same as it was.

I left my project to rest for quite a while and kind of forget about it, but now I want to expand it (yay, more features!). Just for a test, I tried to create an executable distribution of my app with this latest and greatest tools (Python, wxPython Phoenix, and py2exe) and it turns out I can’t.

py2exe runs, but the ‘dist’ folder contains only a ZIP file with copies of the app’s modules, no EXE file is there and nothing really to actually distribute.

What on Earth have they done to the tools that don’t work as they used to?

What should I do to make this baby work again?


The contents of my setup.py script for this app are:


from setuptools import setup

import py2exe

setup(name=“Test”,

version=“1.0”,

author=“Boštjan Mejak”,

author_email="bostjan.xperia@gmail.com",

license=“GPLv3”)

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov