5 Replies - 1750 Views - Last Post: 06 May 2012 - 10:58 AM Rate Topic: -----

#1 CodyWD  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 21-February 10

exe created with Py2Exe has no icon?

Posted 05 May 2012 - 10:12 PM

I created an app with Py2exe so it would be compiled in Executable form... however...

The start menu and application has no icon. It only has an icon on the titlebar of the application. What is happening here.

I've tried a setup.py as such:
from distutils.core import setup
import py2exe

setup(
    data_files = ["coded-with-logo.png", "icon.ico", "aboutIcon.ico"],
    options = {"py2exe": {"compressed": 2,
                          "optimize": 2,
                          "bundle_files": 3,
                          "xref": False,
                          "skip_archive": False,
                          "ascii": False
                          }
               },
    zipfile = None,         
    windows = [
        {
            "script": 'AnansiCalc.py', 
            "icon_resources": [(0x0004, "icon.ico")]
        }
    ],
)



And I tried using PyBuilder. NEITHER adds an icon? I'm using Windows 8 if that matters at all :\

Is This A Good Question/Topic? 0
  • +

Replies To: exe created with Py2Exe has no icon?

#2 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 734
  • View blog
  • Posts: 1,890
  • Joined: 23-December 08

Re: exe created with Py2Exe has no icon?

Posted 06 May 2012 - 06:28 AM

More data! What version of py2exe are you using? What version of Python are you using? Are you using win8 32 or 64?

EDIT:
If I had to guess, I'd say ultimately this is a situation showing the disadvantage of using an OS in its beta stages. I'm having trouble finding anything that could be helpful.

This post has been edited by atraub: 06 May 2012 - 06:39 AM

Was This Post Helpful? 0
  • +
  • -

#3 CodyWD  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 21-February 10

Re: exe created with Py2Exe has no icon?

Posted 06 May 2012 - 09:10 AM

Py2Exe version: Py2Exe 0.6.9
Python Version: Python 2.7.3
Windows 8 64 bit

Can you see if Windos 8 just isn't shohwing it? (If you use Windows that is?)

link removed

This post has been edited by atraub: 06 May 2012 - 10:57 AM
Reason for edit:: removed link for security

Was This Post Helpful? 0
  • +
  • -

#4 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 734
  • View blog
  • Posts: 1,890
  • Joined: 23-December 08

Re: exe created with Py2Exe has no icon?

Posted 06 May 2012 - 09:24 AM

what is that link to?
Was This Post Helpful? 0
  • +
  • -

#5 CodyWD  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 21-February 10

Re: exe created with Py2Exe has no icon?

Posted 06 May 2012 - 09:26 AM

The exe I created. For me, on Win8, it has no icon. I'm going to install some Virtual Machines soon to test out my app across Win7, Vista, XP, and some Linuxes
Was This Post Helpful? 0
  • +
  • -

#6 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 734
  • View blog
  • Posts: 1,890
  • Joined: 23-December 08

Re: exe created with Py2Exe has no icon?

Posted 06 May 2012 - 10:58 AM

I know you that exe probably wasn't malicious, would you mind submitting your source in code tags instead?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1