By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,793 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,793 IT Pros & Developers. It's quick & easy.

Distributing python apps

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
Thanks a ton guys. You both gave me the exact answers I was looking
for.

Jul 9 '07 #4

P: n/a
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.