473,218 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 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 1335
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alexander Eisenhuth | last post by:
Hallo alltogether, under windows, the py2exe is first choice, but has anybody done it under Linux ? My first try with Installer http://www.mcmillan-inc.com/install5_intro.html was not...
14
by: Phillip Mills | last post by:
I've learned enough of the Python language to be mildly dangerous and have used it in a few personal projects. All my development of commercial (or production) products over the past dozen years...
6
by: Jason | last post by:
A non-python programming friend of mine has said that any programs made with Python must be distributed with, or an alternative link, to the source of the program. Is this true?
2
by: RickMuller | last post by:
I really appreciate the ease that the distutils make distributing Python modules. However, I have a question about using them to distribute non-Python (i.e. text) data files that support Python...
2
by: Krish | last post by:
hi all, i'm wondering if there are any best practices for distributing apps which require the .net framework to run. i've read about using the .net bootstrapper which will install the .net...
11
by: Tina I | last post by:
Hi list, Is there a preferred way to distribute programs that depends on third party modules like PyQt, Beautifulsoup etc? I have used setuptools and just having the setup script check for the...
1
by: PurpleServerMonkey | last post by:
Working on a rather large open source python application that I want to release for Linux and BSD and was wondering what methods others are using to distribute large and complex applications. ...
9
by: eliben | last post by:
Hello, I'm getting into Python now after years of Perl, and as part of my research I must understand how to do some common tasks I need. I have a bunch of Windows PCs at work to which I want...
5
by: Joe Strout | last post by:
We have a client who's paranoid about distributing the Python source to his commercial app. Is there some way I can distribute and use just the .pyc files, so as to not give away the source? ...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.