Re: How to run python without python

2010-04-03 Thread David Cournapeau
On Sat, Apr 3, 2010 at 2:23 AM, Chris Rebert  wrote:
> On Fri, Apr 2, 2010 at 10:09 AM, danmcle...@yahoo.com
>  wrote:
>> On Apr 1, 5:54 pm, Chris Rebert  wrote:
>>> On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
>>>  wrote:
>>> > On Fri, Apr 2, 2010 at 1:36 AM, Spencer  wrote:
>>> >> Is there a way to developing a script on linux and give it
>>> >> to someone on microsoft, so that they could run it on microsoft
>>> >> without installing python?
> 
>>> one can't generate such a standalone executable for a different
>>> operating system from that which one's computer runs.
>>
>> that's not entirely true. i just built a standalone exe for win 7 from
>> my win xp machine.
>
> s/operating system/platform
>
> Good luck getting PyInstaller to output for Windows when being run on
> a *nix box.

Doesn't py2exe works under wine ? I have had great success building
windows installers on linux through wine (although not with py2exe),

cheers,

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


Re: How to run python without python

2010-04-03 Thread Lie Ryan
On 04/03/10 06:24, John Bokma wrote:
>>
>> you think virtualbox could help? i wonder if one could run linux/
>> py2exe virtually on a win machine and get it working.
> 
> Of course that works, a virtual windows machine is just a windows
> machine ;-).
> 
> Also that you can't do a "cross compilation" sounds to me more a
> limitation of the tool than a true impossibility.

Much like me writing French...

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


Re: How to run python without python

2010-04-02 Thread John Bokma
"danmcle...@yahoo.com"  writes:

> On Apr 2, 11:23 am, Chris Rebert  wrote:
>> On Fri, Apr 2, 2010 at 10:09 AM, danmcle...@yahoo.com
>>
>>  wrote:
>> > On Apr 1, 5:54 pm, Chris Rebert  wrote:
>> >> On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
>> >>  wrote:
>> >> > On Fri, Apr 2, 2010 at 1:36 AM, Spencer  
>> >> > wrote:
>> >> >> Is there a way to developing a script on linux and give it
>> >> >> to someone on microsoft, so that they could run it on microsoft
>> >> >> without installing python?
>> 
>> >> one can't generate such a standalone executable for a different
>> >> operating system from that which one's computer runs.
>>
>> > that's not entirely true. i just built a standalone exe for win 7 from
>> > my win xp machine.
>>
>> s/operating system/platform
>>
>> Good luck getting PyInstaller to output for Windows when being run on
>> a *nix box.
>
> you think virtualbox could help? i wonder if one could run linux/
> py2exe virtually on a win machine and get it working.

Of course that works, a virtual windows machine is just a windows
machine ;-).

Also that you can't do a "cross compilation" sounds to me more a
limitation of the tool than a true impossibility.

-- 
John Bokma   j3b

Hacking & Hiking in Mexico -  http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to run python without python

2010-04-02 Thread danmcle...@yahoo.com
On Apr 2, 11:23 am, Chris Rebert  wrote:
> On Fri, Apr 2, 2010 at 10:09 AM, danmcle...@yahoo.com
>
>  wrote:
> > On Apr 1, 5:54 pm, Chris Rebert  wrote:
> >> On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
> >>  wrote:
> >> > On Fri, Apr 2, 2010 at 1:36 AM, Spencer  
> >> > wrote:
> >> >> Is there a way to developing a script on linux and give it
> >> >> to someone on microsoft, so that they could run it on microsoft
> >> >> without installing python?
> 
> >> one can't generate such a standalone executable for a different
> >> operating system from that which one's computer runs.
>
> > that's not entirely true. i just built a standalone exe for win 7 from
> > my win xp machine.
>
> s/operating system/platform
>
> Good luck getting PyInstaller to output for Windows when being run on
> a *nix box.
>
> Cheers,
> Chris
> --http://blog.rebertia.com

you think virtualbox could help? i wonder if one could run linux/
py2exe virtually on a win machine and get it working.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to run python without python

2010-04-02 Thread Chris Rebert
On Fri, Apr 2, 2010 at 10:09 AM, danmcle...@yahoo.com
 wrote:
> On Apr 1, 5:54 pm, Chris Rebert  wrote:
>> On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
>>  wrote:
>> > On Fri, Apr 2, 2010 at 1:36 AM, Spencer  wrote:
>> >> Is there a way to developing a script on linux and give it
>> >> to someone on microsoft, so that they could run it on microsoft
>> >> without installing python?

>> one can't generate such a standalone executable for a different
>> operating system from that which one's computer runs.
>
> that's not entirely true. i just built a standalone exe for win 7 from
> my win xp machine.

s/operating system/platform

Good luck getting PyInstaller to output for Windows when being run on
a *nix box.

Cheers,
Chris
--
http://blog.rebertia.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to run python without python

2010-04-02 Thread danmcle...@yahoo.com
On Apr 2, 11:09 am, "danmcle...@yahoo.com" 
wrote:
> On Apr 1, 5:54 pm, Chris Rebert  wrote:
>
>
>
> > On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
>
> >  wrote:
> > > On Fri, Apr 2, 2010 at 1:36 AM, Spencer  wrote:
> > >> Is there a way to developing a script on linux and give it
> > >> to someone on microsoft, so that they could run it on microsoft
> > >> without installing python?
>
> > > Short answer: No.
>
> > Long answer:
> > No indeed. But if he were to have a Windows computer, he could
> > generate a standalone executable from a Python program using one of
> > the following tools:
> > py2exe:http://www.py2exe.org/
> > PyInstaller:http://www.pyinstaller.org/
>
> > But one can't generate such a standalone executable for a different
> > operating system from that which one's computer runs.
>
> > Cheers,
> > Chris
> > --http://blog.rebertia.com
>
> that's not entirely true. i just built a standalone exe for win 7 from
> my win xp machine.

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


Re: How to run python without python

2010-04-02 Thread danmcle...@yahoo.com
On Apr 1, 5:54 pm, Chris Rebert  wrote:
> On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
>
>  wrote:
> > On Fri, Apr 2, 2010 at 1:36 AM, Spencer  wrote:
> >> Is there a way to developing a script on linux and give it
> >> to someone on microsoft, so that they could run it on microsoft
> >> without installing python?
>
> > Short answer: No.
>
> Long answer:
> No indeed. But if he were to have a Windows computer, he could
> generate a standalone executable from a Python program using one of
> the following tools:
> py2exe:http://www.py2exe.org/
> PyInstaller:http://www.pyinstaller.org/
>
> But one can't generate such a standalone executable for a different
> operating system from that which one's computer runs.
>
> Cheers,
> Chris
> --http://blog.rebertia.com

that's not entirely true. i just built a standalone exe for win 7 from
my win xp machine.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to run python without python

2010-04-01 Thread Chris Rebert
On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
 wrote:
> On Fri, Apr 2, 2010 at 1:36 AM, Spencer  wrote:
>> Is there a way to developing a script on linux and give it
>> to someone on microsoft, so that they could run it on microsoft
>> without installing python?
>
> Short answer: No.

Long answer:
No indeed. But if he were to have a Windows computer, he could
generate a standalone executable from a Python program using one of
the following tools:
py2exe: http://www.py2exe.org/
PyInstaller: http://www.pyinstaller.org/

But one can't generate such a standalone executable for a different
operating system from that which one's computer runs.

Cheers,
Chris
--
http://blog.rebertia.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to run python without python

2010-04-01 Thread Krister Svanlund
On Fri, Apr 2, 2010 at 1:36 AM, Spencer  wrote:
> Is there a way to developing a script on linux and give it
> to someone on microsoft, so that they could run it on microsoft
> without installing python?
>
> Wayne
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Short answer: No.
-- 
http://mail.python.org/mailman/listinfo/python-list