Re: generate Windows exe on Linux

2012-02-26 Thread Albert van der Horst
In article ,
Gelonida N   wrote:
>On 02/22/2012 07:05 PM, Alec Taylor wrote:
>> http://www.pyinstaller.org/
>>
>> or
>>
>> http://cx-freeze.sourceforge.net/
>>
>> You can also run py2exe in WINE
>>
>
>You want to say, that I could install python 2.6
>some packages like win32api
>PyQt and tand py2exe under Wine and then compile it.
>
>
>Did you try this?
>
>I didn't even think about trying this out,
>but I know very little about the limits of Wine, so perhaps I
>underestimate it.

As a case in point I have this example of another language:
colorforth.
It was made by a genius inventor (Chuck Moore), and only runs from a
boot-floppy and writes pixels to the screen.
Someone made an environment in MS-Windows to emulate the
booting process and all. This actually runs colorforth.

Now about Wine, how good is it? Actually it is good enough to
run the above emulator!
(We run a third emulator, of the GA144, on top at a decent speed.)

Groetjes Albert

--
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-23 Thread Waldek M.
On Wed, 22 Feb 2012 18:42:11 +0100, Jérôme wrote:
>>> Has anyone had success generating exe's from within Linux?
>> 
>> That doesn't seem to have anything to do with Python,
>> but you might want to google for cross-compiling.
> 
> I think his question is totally python related. 
> 
> As I understand it, Richard creates executables from python scripts using a
> tool, such as py2exe [1], that requires windows. He would like to have an
> equivalent tool that runs on linux, to avoid going through the trouble of
> having to run a windows installation.

Ah, that's the part I was missing :-)
Thanks.

Waldek
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-22 Thread Plumo
thanks Jérôme.

Closest I have found is pyinstaller added support for cross-compiling a year 
ago by mounting a Windows partition on Linux:
https://groups.google.com/forum/?fromgroups#!topic/pyinstaller/KISZP5sHCWg

But it was not stable so will be removed:
https://groups.google.com/forum/?fromgroups#!searchin/PyInstaller/linux$20windows/pyinstaller/veq3BlA_Bns

I have come across many vague suggestions to try using Wine with py2exe / 
pyinstaller / cx_Freeze, but few accounts from people who have actually 
succeeded.

Richard
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-22 Thread Miki Tebeka
> Having said that, Wine is actually surprisingly capable these days. It
> won't always run the latest release of our all-time favourite WYGIWYD
> character pushing or number layouting programs from MS-Office fame, but at
> least older versions of many a program tend to work rather nicely.
Even newer ones, have a look at http://www.playonlinux.com/en/ to get a taste 
of what it's capable of.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-22 Thread Stefan Behnel
Gelonida N, 22.02.2012 23:25:
> On 02/22/2012 07:05 PM, Alec Taylor wrote:
>> http://www.pyinstaller.org/
>>
>> or
>>
>> http://cx-freeze.sourceforge.net/
>>
>> You can also run py2exe in WINE
>>
> 
> You want to say, that I could install python 2.6
> some packages like win32api
> PyQt and tand py2exe under Wine and then compile it.
> 
> 
> Did you try this?
> 
> I didn't even think about trying this out,
> but I know very little about the limits of Wine, so perhaps I
> underestimate it.

The compliance requirements for software build tools tend to be rather easy
to meet, so Wine shouldn't have any real problems there.

Having said that, Wine is actually surprisingly capable these days. It
won't always run the latest release of our all-time favourite WYGIWYD
character pushing or number layouting programs from MS-Office fame, but at
least older versions of many a program tend to work rather nicely.

Stefan

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-22 Thread Gelonida N
On 02/22/2012 07:05 PM, Alec Taylor wrote:
> http://www.pyinstaller.org/
> 
> or
> 
> http://cx-freeze.sourceforge.net/
> 
> You can also run py2exe in WINE
> 

You want to say, that I could install python 2.6
some packages like win32api
PyQt and tand py2exe under Wine and then compile it.


Did you try this?

I didn't even think about trying this out,
but I know very little about the limits of Wine, so perhaps I
underestimate it.






-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-22 Thread Alec Taylor
http://www.pyinstaller.org/

or

http://cx-freeze.sourceforge.net/

You can also run py2exe in WINE

On Thu, Feb 23, 2012 at 4:42 AM, Jérôme  wrote:
> Wed, 22 Feb 2012 18:19:12 +0100
> Waldek M. a écrit:
>
>> On Wed, 22 Feb 2012 04:12:29 -0800 (PST), Plumo wrote:
>> > I have a python script using only the standard libraries.
>> > Currently I use a Windows VM to generate exe's, which is cumbersome.
>>
>> And what exactly *is* this exe about?
>
> Whatever.
>
>> > Has anyone had success generating exe's from within Linux?
>>
>> That doesn't seem to have anything to do with Python,
>> but you might want to google for cross-compiling.
>
> I think his question is totally python related.
>
> As I understand it, Richard creates executables from python scripts using a
> tool, such as py2exe [1], that requires windows. He would like to have an
> equivalent tool that runs on linux, to avoid going through the trouble of
> having to run a windows installation.
>
> I'm interested in such a tool as well.
>
> [1] http://www.py2exe.org/
>
> --
> Jérôme
> --
> http://mail.python.org/mailman/listinfo/python-list
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-22 Thread Jérôme
Wed, 22 Feb 2012 18:19:12 +0100
Waldek M. a écrit:

> On Wed, 22 Feb 2012 04:12:29 -0800 (PST), Plumo wrote:
> > I have a python script using only the standard libraries.
> > Currently I use a Windows VM to generate exe's, which is cumbersome.
> 
> And what exactly *is* this exe about?

Whatever.
 
> > Has anyone had success generating exe's from within Linux?
> 
> That doesn't seem to have anything to do with Python,
> but you might want to google for cross-compiling.

I think his question is totally python related. 

As I understand it, Richard creates executables from python scripts using a
tool, such as py2exe [1], that requires windows. He would like to have an
equivalent tool that runs on linux, to avoid going through the trouble of
having to run a windows installation.

I'm interested in such a tool as well.

[1] http://www.py2exe.org/

-- 
Jérôme
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: generate Windows exe on Linux

2012-02-22 Thread Waldek M.
On Wed, 22 Feb 2012 04:12:29 -0800 (PST), Plumo wrote:
> I have a python script using only the standard libraries.
> Currently I use a Windows VM to generate exe's, which is cumbersome.

And what exactly *is* this exe about?

> Has anyone had success generating exe's from within Linux?

That doesn't seem to have anything to do with Python,
but you might want to google for cross-compiling.

Best regards,
Waldek
-- 
http://mail.python.org/mailman/listinfo/python-list