Wayne
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.
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.
> On Apr 2, 11:23 am, Chris Rebert <c...@rebertia.com> wrote:
>> On Fri, Apr 2, 2010 at 10:09 AM, danmcle...@yahoo.com
>>
>> <danmcle...@yahoo.com> wrote:
>> > On Apr 1, 5:54 pm, Chris Rebert <c...@rebertia.com> wrote:
>> >> On Thu, Apr 1, 2010 at 4:46 PM, Krister Svanlund
>> >> <krister.svanl...@gmail.com> wrote:
>> >> > On Fri, Apr 2, 2010 at 1:36 AM, Spencer <Infotech...@fairpoint.net> 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?
>> <snip>
>> >> 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
Much like me writing French...
Doesn't py2exe works under wine ? I have had great success building
windows installers on linux through wine (although not with py2exe),
cheers,
David