Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #494 (new defect)

Opened 16 months ago

Last modified 16 months ago

pygame support broken in develop version?

Reported by: hugoruscitti@… Owned by: matysek
Priority: normal Milestone:
Component: PyInstaller Version: develop
Severity: normal Keywords:
Cc:

Description (last modified by htgoebel) (diff)

Hi, i made a simple pygame script, but when i run the generated binary it's not run property.

It's says "ImportError?: No module named pygame.colordict", so if i include this module in my script, then the new generated binary says "NotImplementedError?: display module not available".

command runned::
----------------

pyinstaller.py test.py


game.py::
---------

import pygame                                                                   
from pygame.locals import *
import pygame.colordict

def main():
    pygame.init()
    screen = pygame.display.set_mode((640, 480))

    done = False
    while not done:
        pygame.display.flip()

        events = pygame.event.get( )
        for e in events:
            if e.type == QUIT:
                done = True
            elif e.type == KEYDOWN:
                if( e.key == K_ESCAPE ):
                    done = True

    return

if __name__=="__main__":
    main()
------------------

Attachments

Change History

comment:1 Changed 16 months ago by htgoebel

  • Description modified (diff)

This looks like the package is not packed. Please submit more information, see <HowtoReportBugs#Beforesubmittingareport:Makesureeverythingispackaged>

As pygame changed API in development-versions (see #406) , please test other versions of pygame.

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.