473,511 Members | 17,486 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating self-contained apps

Is it possible to create a version of Python, along with several
specific modules, and somehow package it together to be distributed as
a single unit? I remember that Zope did something similar in the past,
but can't recall how that was accomplished. I looked into bdist in
DistUtils, but couldn't find enough info on it to determine if it would
do what I want.

I have an app that requires a specific version of Python, along with
specific versions of various modules. What I need is a single file that
I can distribute that will run my packaged version of python, assuring
that the user, no matter what Linux distro they are using, will be able
to run it? And while I'm at it, is this also possible in Windows?

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/
Jul 18 '05 #1
2 1570

Check cx_Freeze from

<http://starship.python.net/crew/atuining/cx_Freeze/>

/Jean Brouwers

In article <ma************************************@python.org >, Ed
Leafe <ed@leafe.com> wrote:
Is it possible to create a version of Python, along with several
specific modules, and somehow package it together to be distributed as
a single unit? I remember that Zope did something similar in the past,
but can't recall how that was accomplished. I looked into bdist in
DistUtils, but couldn't find enough info on it to determine if it would
do what I want.

I have an app that requires a specific version of Python, along with
specific versions of various modules. What I need is a single file that
I can distribute that will run my packaged version of python, assuring
that the user, no matter what Linux distro they are using, will be able
to run it? And while I'm at it, is this also possible in Windows?

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/

Jul 18 '05 #2
I do this with py2exe for Windows. I also use InnoSetup to
create self installation .EXE file for Windows distribution.
Seems to work quite well.

HTH,
Larry Bates
Syscon, Inc.

"Ed Leafe" <ed@leafe.com> wrote in message
news:ma************************************@python .org...
Is it possible to create a version of Python, along with several
specific modules, and somehow package it together to be distributed as
a single unit? I remember that Zope did something similar in the past,
but can't recall how that was accomplished. I looked into bdist in
DistUtils, but couldn't find enough info on it to determine if it would
do what I want.

I have an app that requires a specific version of Python, along with
specific versions of various modules. What I need is a single file that
I can distribute that will run my packaged version of python, assuring
that the user, no matter what Linux distro they are using, will be able
to run it? And while I'm at it, is this also possible in Windows?

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2766
by: Edvard Majakari | last post by:
Hi, I was wondering what would be the most elegant way for creating a Python class wrapper for a command line utility, which takes three types of arguments: 1. options with values (--foo=bar)...
1
1411
by: Will McGugan | last post by:
Hi, Is there any way of making properties using a decorator? The current way of creating a property seems inelegant. Something like this imaginary snippit would be nice, IMHO. class...
4
2732
by: Edvard Majakari | last post by:
Greetings, fellow Pythonistas! I'm about to create three modules. As an avid TDD fan I'd like to create typical 'use-cases' for each of these modules. One of them is rather large, and I wondered...
4
6557
by: NutJob | last post by:
Hello, I'm faced with the following problem: I have a (secondary) thread that monitors a socket for incoming message traffic using the select.select() function. Besides that I also have the...
7
1578
by: Michael Williams | last post by:
Hi All, I'm looking for a quality Python XML implementation. All of the DOM and SAX implementations I've come across so far are rather convoluted. Are there any quality implementations that...
3
13564
by: implicate_order | last post by:
Greetings, I'm new to python and am in the process of writing a script to parse some CSV data, spread it across multiple Excel worksheets and then generate charts. I searched the internet to...
17
1918
by: Lee Harr | last post by:
I understand how to create a property like this: class RC(object): def _set_pwm(self, v): self._pwm01 = v % 256 def _get_pwm(self): return self._pwm01 pwm01 = property(_get_pwm, _set_pwm)
0
1314
by: .nu | last post by:
#!/usr/bin/env python # -*- coding: utf-8 -*- # Name: Sleepy Hollow # Author: .nu import wx import os import sys
6
1769
by: wcc | last post by:
Hello, How do I create a class using a variable as the class name? For example, in the code below, I'd like replace the line class TestClass(object): with something like class...
1
5699
by: kaens | last post by:
So, I have a class that has to retrieve some data from either xml or an sql database. This isn't a problem, but I was thinking "hey, it would be cool if I could just not define the functions for...
0
7245
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7144
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5671
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5069
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
449
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.