473,395 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
wine python.exe setup.py py2exe


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: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\\SYST EM;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"],
)
#####

Jul 18 '05 #1
2 4863
On Fri, 19 Dec 2003 20:22:23 +0100, in article
<news:pa****************************@hccnet.nl>, duikboot wrote:
Does anybody know what I've done wrong?
No.
Or is it just not possible
Maybe.
arjen@linux Python23]$ wine python.exe setup.py py2exe [...] py2exe_util.bind_error: C:\Python23\DLLs\_sre.pyd


Did you copy the pyd file into C:\Python23\DLLs\ 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?
Jul 18 '05 #2
duikboot <ar***********************@hccnet.nl> wrote:

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


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, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: Vamsi Mudrageda | last post by:
I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another...
9
by: Skip Montanaro | last post by:
I'd like to package up my typing watcher script in a bundled form (no separate Python install required) for use on Windows. (Un)fortunately, I don't have access to a Windows computer. Do any of...
15
by: James Stroud | last post by:
Hello, My department has switched from vmware to wine/cxoffice. I have been playing with this all morning, and I've gotten this far. If someone has done this, could you point me in the right...
5
by: Zlatko Matić | last post by:
Is there any way to run (emulate?) MS Access application on Linux ?
10
by: Ka | last post by:
Hi, all I use Redhat8.0, and I complie a program with wine in this box, my wine version is wine-20020605-2 by Redhat. and after install wine, I just locate the library in /usr/lib/wine ...
21
by: sachin dooble | last post by:
is there any method where i can run my linux code that is all the a.out i made on linux to run on windows. plz tell me the way.
24
by: Mark Goldin | last post by:
Can I run my aspx pages from Linux box? Will these pages be able to connect to SQL server? Thanks
6
by: Muffinthief | last post by:
I'm sure we're all aware of py2exe, but is there a Linux equivalent, and if not, does py2exe work in WINE?
1
by: nirmalarasu | last post by:
Hi, Iam look looking some standalone python package for both in windows and linux. In windows py2exe tool serving my purpose,is there any similar tool i can find in linux.? Though most of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.