linux wine py2exe ??

duikboot arjen.dijkstra%no%-%spam% at hccnet.nl
Fri Dec 19 14:22:23 EST 2003


Hi all,

I've tried to create a .exe file on linux (Fedora).

So in installed wine, python2.3 with wine and py2exe (with wine ofcourse)

I made a setup file (setup.py) and ran
>wine python.exe setup.py py2exe

Does anybody know what I've done wrong? Or is it just not possible

Greetings,
Arjen

output:
arjen at linux Python23]$ wine python.exe setup.py py2exe
fixme:console:SetConsoleCtrlHandler (0x7800f03e,1) - no error checking or testing yet
running py2exe
running build
running build_scripts
running install_scripts
fixme:imagehlp:BindImageEx (7, "C:\\Python23\\DLLs\\_sre.pyd", "C:\\Python23\\DLLs;C:\\Python23;C:\\WINDOWS\\SYSTEM;C:\\WINDOWS;c:\\windows;c:\\windows\\"..., (null), 0x10001570): stub
Traceback (most recent call last):
  File "setup.py", line 6, in ?
    scripts=["vervang.py"],
  File "C:\Python23\lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "C:\Python23\lib\distutils\dist.py", line 907, in run_commands
    self.run_command(cmd)
  File "C:\Python23\lib\distutils\dist.py", line 927, in run_command
    cmd_obj.run()
  File "C:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 698, in run
    extra_path + sys.path)
  File "C:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 842, in find_dependend_dlls
    alldlls, warnings = bin_depends(loadpath, images)
  File "C:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 1154, in bin_depends
    for result in py2exe_util.depends(image, loadpath).items():
py2exe_util.bind_error: C:\Python23\DLLs\_sre.pyd

####
from distutils.core import setup
import py2exe
 
setup(name="vervang",
      scripts=["vervang.py"],
)
#####







More information about the Python-list mailing list