Hi,
I've written a commercial application that uses Python scripts for
some of the functionality. Installing the Python portion of the
application requires me to first install Python, and then install the
scripts. I'm looking for an easier way to install the Python portion.
I've been referred to: http://www.mcmillan-inc.com/install1.html
Which application would people recommend for creating a standalone
executable?
Are there any licensing issues I need to consider wrt including a
"Python runtime" with my distribution?
Thanks 2 2617
Sandeep Gupta wrote: Hi,
I've written a commercial application that uses Python scripts for some of the functionality. Installing the Python portion of the application requires me to first install Python, and then install the scripts. I'm looking for an easier way to install the Python portion.
I've been referred to: http://www.mcmillan-inc.com/install1.html
Which application would people recommend for creating a standalone executable?
Are there any licensing issues I need to consider wrt including a "Python runtime" with my distribution?
You can also look at py2exe at http://starship.python.net/crew/theller/py2exe/ . Its license is
BSD-like, AFAICT.
--
Glitch
-----BEGIN TF FAN CODE BLOCK-----
G+++ G1 G2+ BW++++ MW++ BM+ Rid+ Arm-- FR+ FW-
#3 D+ ADA N++ W OQP MUSH- BC- CN++ OM P75
-----END TF FAN CODE BLOCK-----
"I would've preferred a robot truck."
"Heathen."
-- Two Aliens, on Monkey Master, on January 23, 2001. http://www.itswalky.com/ sa********@hotm ail.com (Sandeep Gupta) writes: I've been referred to: http://www.mcmillan-inc.com/install1.html
Which application would people recommend for creating a standalone executable?
I've been using the McMillan installer for a long time now very
successfully, although there are others (such as py2exe) that are also
available.
You don't mention platform, but assuming your use of "executable "
implies a Windows platform, if by standalone executable, if you mean a
single .exe to run the application, you can create that with
installer, but it'll still automatically unpack any needed extension
dll/pyd files when it starts and remove them when it ends.
If instead you mean a single .exe that can be used to install your
application (like a normal Windows installer), then you can use normal
installation packages to take the results created by installer and
package them up. I'm a fan of Inno Setup
(http://www.jrsoftware.org/isinfo.php) but there are others around
(such as NSIS).
BTW, if instead you were referring to a Unix (or MacOSX) platform then
installer may be the only system to support them the way you want (and
installer not necessarily on all Unix variants - Linux is probably the
most tested).
If you're talking about a Mac classic setup, I believe there is in
fact some support for packaging up Python stuff for Mac installations,
but other than vaguely remembering reading about it on a MacPython
specific web page, don't know anything further.
Are there any licensing issues I need to consider wrt including a "Python runtime" with my distribution?
There shouldn't be - the Python license permits this even for
commercial situations. You should double check however, that if your
application involves any extension modules that are not part of the
basic Python distribution that they may have their own more
restrictive licenses.
-- David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jeuxal_com |
last post by:
Hi,
I need to add a python program (web updater+extras) with a window
application.
The same thing as the Online Lord of the Ring game lotrtcg.decipher.com.
When you install their application, it create a subdirectory with very few
python files*.dll,*.pyd,*.pyc.:
_socket.pyd
_sre.pyd
|
by: Svein Ove Aas |
last post by:
Is anyone working on a python-to-native compiler?
I'd be interested in taking a look.
Come to think of it, is anyone working on a sexpr-enabled version of
Python, or anything similar? I really miss my macros whenever I try to
use it...
|
by: ardechou |
last post by:
hi ,
i have to build an application whoi using python 2.3
This application is running on python 2.2 , but i want to change to
python 2.3.
So , i used in my application ftplib to search a file in unix server.
it's simple , i used
t=ftplib.FTP()
t.connect("server_unix)
t.login("login","pass")
list=
|
by: cournape |
last post by:
Hi there,
I have some scientific application written in python. There is a
good deal of list processing, but also some "simple" computation such
as basic linear algebra involved. I would like to speed things up
implementing some of the functions in C. So I need profiling.
I first tried to use the default python profiler, but profiling my
application multiplies the execution time by a factor between 10 and
100 ! So I decided to give a...
|
by: wahn |
last post by:
Hi,
Here is a problem I came across and need some help with. I developed a
little Python script with some classes which runs standalone and
communicates with a database via sockets. So far everything works fine.
I also successfully embedded the Python interpreter into a plugin for a
commercial 3D package (in this case Houdini - http://www.sidefx.com/ -
using the HDK). I can use the interpreter to run Python commands and
get values back...
| |
by: Fozzie |
last post by:
Hi,
I have a problem which is quite circular, and hopefully either someone
has encountered something similar or has a reason why this will not
work.
We have a COM library providing mathematics to various systems, most
functions are hard-coded but we want to embed a scripting language to
allow arbitrary functions to be used in the numeric engines within the
library, and am using Python for this.
|
by: warhero |
last post by:
First question, I can't seem to get any python bytecode to be
produced. I've tried different techniques from chapter 30.8 to chapter
31 of the python guide.. I was under the assumption that after
compiling a file, it would output a pyc file, but where does it go?
Any help would be appreciated.
Second, Are there any other projects out for bundling python bytecode
files, making it able to use a couple files to distribute an entire
app?? ...
|
by: Gabriel Genellina |
last post by:
En Tue, 03 Jun 2008 16:58:12 -0300, Pau Freixes <pfreixes@milnou.net>
escribió:
So the above code corresponds to the standalone version - what about the
embedded version? Are you sure it is exactly the *same* code? All those
global statements are suspicious, and you don't even need most of them.
Note that looking up a name in the global namespace is much slower than
using a local name.
Also, you're including the time it takes the OS...
|
by: PlayDough |
last post by:
I've embedded Python in an extension for a program we are using here
at work. And I'm a bit stumped as to why I am getting an
AttributeError only in the embedded Python.
First, a bit of what I am doing. We use a simulator for a
microprocessor we are using in our systems. Our simulator allows for
extensions that can be loaded as shared libraries. Rather than code
the entire extension in C/C++, I would like to make use of Python to...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |