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/ 2 1578
Check cx_Freeze from
<http://starship.python .net/crew/atuining/cx_Freeze/>
/Jean Brouwers
In article <ma************ *************** *********@pytho n.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/
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******** *************** *************@p ython.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/
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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)
2. boolean options (--squibble)
3. data lines (MUNGE:x:y:z:frob)
|
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 C(object):
@make_property
def x(self):
|
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 if it would be easy enough to create a code skeleton out of
unit test module.
Consider the following, though contrived, unit test code snippet:
==========================================================================
|
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 main thread of my WxPython application. So
far so good.
Now when my socket thread detects an incoming message, I need my main
|
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 will (after
parsing the XML) return an object that is accessible by name? Such as
the following:
| |
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 find some place where I
could look up a HOWTO doc/recipe to do that using either pyExcelerator
or win32com.client.
Could someone point me in the right direction?
I'm at the stage where the spreadsheet and associated data worksheets
|
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)
|
by: .nu |
last post by:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Name: Sleepy Hollow
# Author: .nu
import wx
import os
import sys
|
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 eval(className) (object):
|
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 say xml if I'm using sql", so
I did some fiddling around with the interpreter.
First, I try conditionally creating a function, period:
a = 'a'
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |