Python 3.5.2 and py2exe 0.9.2.2

126 views
Skip to first unread message

Boštjan Mejak

unread,
Sep 1, 2016, 6:35:09 PM9/1/16
to wxpytho...@googlegroups.com
My setup.py script is simple. When I ran py2exe using
python setup.py py2exethe dist folder/directory is created, but is empty.

Please note that I am on Windows10 Home 64-bit, if that helps to clear the matter.

This are my setup.py contents:

from distutils.core import setup
import py2exe


setup(name="Playground",
      version="1.0",
      author="Boštjan Mejak",
      author_email="bostjan...@gmail.com",
      license="GPLv3",
      windows=[{"script": "playground.py",
                "icon_resources": [(0, "icon.ico")]}])

And yes, I do have the icon.ico file in the same folder/directory as the setup.py script.

So what gives? Why do I get an empty dist folder/directory?

Steve Barnes

unread,
Sep 2, 2016, 3:14:37 AM9/2/16
to wxpytho...@googlegroups.com


On 01/09/2016 23:34, Boštjan Mejak wrote:
> My setup.py script is simple. When I ran py2exe using
> *python setup.py py2exe*, the dist folder/directory is created, but is
> empty.
>
> Please note that I am on Windows10 Home 64-bit, if that helps to clear
> the matter.
>
> This are my setup.py contents:
>
> from distutils.core import setup
> import py2exe
>
>
> setup(name="Playground",
> version="1.0",
> author="Boštjan Mejak",
> author_email="bostjan...@gmail.com
> <mailto:bostjan...@gmail.com>",
> license="GPLv3",
> windows=[{"script": "playground.py",
> "icon_resources": [(0, "icon.ico")]}])
>
> And yes, I do have the icon.ico file in the same folder/directory as the
> setup.py script.
>
> So what gives? Why do I get an empty dist folder/directory?
>
> --
> 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-user...@googlegroups.com
> <mailto:wxpython-user...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

What output did you get when you ran your setup.py?

--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

George Gillan

unread,
Sep 2, 2016, 12:53:25 PM9/2/16
to wxPython-users
Forgive me if I misunderstood the question, but AFAIK py2exe still does not work for Python 3.5. My understanding is that Python 3.5 changed compilers used on Windows and various packages require some effort to do the same and work for 3.5. py2exe is one of them.

David Woods

unread,
Sep 2, 2016, 11:42:24 PM9/2/16
to wxpytho...@googlegroups.com

Why are you asking for support for py2exe on a wxPython list?  I expect you're more likely to get useful help from a py2exe list.

--
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-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages