471,354 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Distributing python apps

Hi,

I'm creating a set of command-line tools using Python. These tools
manage resources for a game I'm working on. However, many people that
will be using these tools will not want to install Python on their
machines. This would be a very tedious process (for first time users
of my tools).

Ideally, I would like for someone to be able to use my tools without
having to install Python. For example, if I could put python.exe in a
hidden folder somewhere in my tools directory, and make a batch file
that they run to start the tool, python could be executed from a
relative path in my tools directory. Is this possible? What is an
ideal way of distributing python apps? I would prefer a transparent
and user-friendly approach.

Thanks for any tips.

Jul 9 '07 #1
4 1258
Robert Dailey schrieb:
Ideally, I would like for someone to be able to use my tools without
having to install Python.
What about http://www.py2exe.org/ ?

"py2exe is a Python Distutils extension which converts Python scripts
into executable Windows programs, able to run without requiring a Python
installation."

--
Thomas Wittek
http://gedankenkonstrukt.de/
Jabber: st*********@jabber.i-pobox.net
Jul 9 '07 #2
On Jul 9, 2:59 pm, Robert Dailey <rcdai...@gmail.comwrote:
Hi,

I'm creating a set of command-line tools using Python. These tools
manage resources for a game I'm working on. However, many people that
will be using these tools will not want to install Python on their
machines. This would be a very tedious process (for first time users
of my tools).

Ideally, I would like for someone to be able to use my tools without
having to install Python. For example, if I could put python.exe in a
hidden folder somewhere in my tools directory, and make a batch file
that they run to start the tool, python could be executed from a
relative path in my tools directory. Is this possible? What is an
ideal way of distributing python apps? I would prefer a transparent
and user-friendly approach.

Thanks for any tips.
The typical approach is using py2exe:

http://www.py2exe.org/
I use it in conjunction with Inno Setup.

http://www.jrsoftware.org/isinfo.php
GUI2Exe is a GUI interface to py2exe:

http://xoomer.alice.it/infinity77/eng/GUI2Exe.html

Mike

Jul 9 '07 #3
Thanks a ton guys. You both gave me the exact answers I was looking
for.

Jul 9 '07 #4
Robert Dailey wrote:
Thanks a ton guys. You both gave me the exact answers I was looking
for.

Uhm, late entry here, but you might want to consider PyInstaller
<http://pyinstaller.python-hosting.com/>. Not sure if the project is
still alive as I see no mention of Python 2.5 on their site but you
never know.

/W
Jul 10 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Alexander Eisenhuth | last post: by
14 posts views Thread by Phillip Mills | last post: by
6 posts views Thread by Jason | last post: by
2 posts views Thread by RickMuller | last post: by
1 post views Thread by PurpleServerMonkey | last post: by
5 posts views Thread by Joe Strout | last post: by
reply views Thread by XIAOLAOHU | last post: by

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.