[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Pygame 1.4 problems with pygame2exe.py



Sorry to keep bothering you with the exe building but I am having problems
with the new pygame2exe.py script.

I have to remove the last bracket on line 58 to get it running:
I changed
dst = os.path.join(dst, name))
to
dst = os.path.join(dst, name)

When I ran it non of the .dll or .pyd file copied across to the dist\pyzzle
directory except for
python22.dll and _sre.pyd. I tried manually copying them over but when
running the pyzzle.exe file I get
---------------------------------------
Traceback (most recent call last):
  File "<string>", line 38, in ?
  File "<string>", line 35, in main
  File "imputil.pyo", line 103, in _import_hook
  File "<string>", line 49, in _import_top_module
  File "imputil.pyo", line 538, in import_from_dir
  File "imputil.pyo", line 300, in _process_result
  File "enginecode\pyzzlemain.py", line 27, in ?
    import os, os.path, sys,textfn#, pickle, tempfile, textfn
  File "imputil.pyo", line 103, in _import_hook
  File "<string>", line 49, in _import_top_module
  File "imputil.pyo", line 538, in import_from_dir
  File "imputil.pyo", line 300, in _process_result
  File "enginecode\textfn.py", line 25, in ?
    import pygame, pygame.font, textrect, gfx, os, sys
  File "imputil.pyo", line 106, in _import_hook
ImportError: No module named pygame
-------------------------------------------------
im using py2exe-0.3.1 with python22 on win98SE. Pyzzle and the other
examples are running fine from source.

Any ideas?
Thanks
Andy

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org