linux wine py2exe ??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • duikboot

    linux wine py2exe ??

    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[color=blue]
    >wine python.exe setup.py py2exe[/color]

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

    Greetings,
    Arjen

    output:
    arjen@linux Python23]$ wine python.exe setup.py py2exe
    fixme:console:S etConsoleCtrlHa ndler (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:\\Python 23;C:\\WINDOWS\ \SYSTEM;C:\\WIN DOWS;c:\\window s;c:\\windows\\ "..., (null), 0x10001570): stub
    Traceback (most recent call last):
    File "setup.py", line 6, in ?
    scripts=["vervang.py "],
    File "C:\Python23\li b\distutils\cor e.py", line 149, in setup
    dist.run_comman ds()
    File "C:\Python23\li b\distutils\dis t.py", line 907, in run_commands
    self.run_comman d(cmd)
    File "C:\Python23\li b\distutils\dis t.py", line 927, in run_command
    cmd_obj.run()
    File "C:\PYTHON23\Li b\site-packages\py2exe \build_exe.py", line 698, in run
    extra_path + sys.path)
    File "C:\PYTHON23\Li b\site-packages\py2exe \build_exe.py", line 842, in find_dependend_ dlls
    alldlls, warnings = bin_depends(loa dpath, images)
    File "C:\PYTHON23\Li b\site-packages\py2exe \build_exe.py", line 1154, in bin_depends
    for result in py2exe_util.dep ends(image, loadpath).items ():
    py2exe_util.bin d_error: C:\Python23\DLL s\_sre.pyd

    ####
    from distutils.core import setup
    import py2exe

    setup(name="ver vang",
    scripts=["vervang.py "],
    )
    #####



  • Jules Dubois

    #2
    Re: linux wine py2exe ??

    On Fri, 19 Dec 2003 20:22:23 +0100, in article
    <news:pan.2003. 12.19.19.22.17. 534860@hccnet.n l>, duikboot wrote:
    [color=blue]
    > Does anybody know what I've done wrong?[/color]

    No.
    [color=blue]
    > Or is it just not possible[/color]

    Maybe.
    [color=blue]
    > arjen@linux Python23]$ wine python.exe setup.py py2exe[/color]
    [...][color=blue]
    > py2exe_util.bin d_error: C:\Python23\DLL s\_sre.pyd[/color]

    Did you copy the pyd file into C:\Python23\DLL s\ on the (WINE-mapped) C:
    drive? In the past, I've copied DLLs one by one into my WINE configuration
    directory as applications complained about not finding them. In some
    cases, I've successfully run the programs; some not.

    Does the WINE log provide more information?

    Comment

    • Tim Roberts

      #3
      Re: linux wine py2exe ??

      duikboot <arjen.dijkstra %no%-%spam%@hccnet.n l> wrote:[color=blue]
      >
      >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[color=green]
      >>wine python.exe setup.py py2exe[/color]
      >
      >Does anybody know what I've done wrong? Or is it just not possible[/color]

      Before folks spend a lot of time giving the answer, I would just like to
      confirm something.

      Are you REALLY trying to create a Windows executable on Linux? Or are you
      actually wanting to make a Linux executable, and you have been misled into
      thinking that py2exe is the only way to do that?
      --
      - Tim Roberts, timr@probo.com
      Providenza & Boekelheide, Inc.

      Comment

      Working...