473,549 Members | 2,543 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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: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 "],
)
#####

Jul 18 '05 #1
2 4871
On Fri, 19 Dec 2003 20:22:23 +0100, in article
<news:pa******* *************** ******@hccnet.n l>, 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.bin d_error: C:\Python23\DLL s\_sre.pyd


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?
Jul 18 '05 #2
duikboot <ar************ ***********@hcc net.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
7720
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 GUI toolkit that is cross-platform for Python, and am leaning toward PyQt (PyGTK is kind of dull looking in comparison). Unfortunately, although...
9
2356
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 the packaging tools (py2exe, MacMillan's Installer, etc) allow cross-platform bundling? Failing that, can I coax someone into building such a beast...
15
3210
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 direction euler 65% winpy Enthought Edition build 1057 Python 2.3.3 (#51, Feb 16 2004, 04:07:52) on win32 Type "help", "copyright", "credits" or...
5
2247
by: Zlatko Matiæ | last post by:
Is there any way to run (emulate?) MS Access application on Linux ?
10
4496
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 lrwxrwxrwx 1 root root 17 Jul 29 12:10 libgdi32.dll.so -> wine/gdi32.dll.so lrwxrwxrwx 1 root root 20 Jul 29 12:10...
21
3528
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
2221
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
3287
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
1754
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 linux machine having python installation,but some customized linux machines are not having python.If some body suggest me py2exe like tool for linux,it...
0
7461
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7730
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7971
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6055
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5101
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3509
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3491
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.