473,803 Members | 3,195 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Distributing Python programs

Can I install Python on a networked server and have any user run Python
programs without having to go through the 9Mb client install?

What are my options for distributing Python programs to my users?

Thankyou to anyone who can help.

Graham

Jul 18 '05 #1
5 2130
NEWS wrote:

Can I install Python on a networked server and have any user run Python
programs without having to go through the 9Mb client install?
Yes, we run dozens of machines from a single network installation.
Depending on what extensions you need to install (e.g. win32all) you may
need to make some small manual adjustments to get it to work, but
in essence you can just do a "non-admin" local install, then copy the
entire directory tree to the network.
What are my options for distributing Python programs to my users?


py2exe: http://starship.python.net/crew/theller/py2exe/

the Macmillan Installer: http://www.mcmillan-inc.com/installer_dnld.html

etc...

-Peter
Jul 18 '05 #2
"Peter Hansen" <pe***@engcorp. com> wrote in message
Yes, we run dozens of machines from a single network installation.
Depending on what extensions you need to install (e.g. win32all) you may
need to make some small manual adjustments to get it to work, but
in essence you can just do a "non-admin" local install, then copy the
entire directory tree to the network.

Peter
Thanks for this info. Will this work with Python for Windows? I tried what
you suggested a few days ago but found when I ran a python script it asked
me for a python.dll which I have found not in the directory tree but in my
local system32 directory (I have a local Python installation).

What is significant about the "non-admin" install and how do you do this?

regards

Graham Smith

PeopleSoft Technical Team Leader
OXFAM GB
+44 (1865) 313255
gs****@oxfam.or g.uk
Jul 18 '05 #3

Graham> Can I install Python on a networked server and have any user run
Graham> Python programs without having to go through the 9Mb client
Graham> install?

Are you talking about Windows? I think that as long as you copy
Python23.dll to the same directory as python.exe you will be okay. For
Unix-y systems as long as everyone is on the same architecture you should be
okay.

Graham> What are my options for distributing Python programs to my users?

Distutils is probably the way to go assuming they already have access to
Python proper. Check the distutils docs:

http://www.python.org/doc/current/li...distutils.html

Otherwise, take a look at py2exe (Windows only) or Gordon MacMillan's
installer (cross-platform?).

Skip

Jul 18 '05 #4
Graham wrote:

"Peter Hansen" <pe***@engcorp. com> wrote in message
Yes, we run dozens of machines from a single network installation.
Depending on what extensions you need to install (e.g. win32all) you may
need to make some small manual adjustments to get it to work, but
in essence you can just do a "non-admin" local install, then copy the
entire directory tree to the network.
Peter
Thanks for this info. Will this work with Python for Windows?


Yes, this is specifically with Windows 98.
I tried what
you suggested a few days ago but found when I ran a python script it asked
me for a python.dll which I have found not in the directory tree but in my
local system32 directory (I have a local Python installation).

What is significant about the "non-admin" install and how do you do this?


The significance of the "non-admin" install is that it would fix the problem
you just described...

-Peter
Jul 18 '05 #5
Thank you to Peter, Skip and Premshree for your help. I got my network
install of Python up and running and all is well !!!

regards
Graham Smith

PeopleSoft Technical Team Leader
OXFAM GB
+44 (1865) 313255
gs****@oxfam.or g.uk
Jul 18 '05 #6

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

Similar topics

6
1829
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
2670
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 modules. Currently when I have data of this type, I parse it into python objects and make a python module from it. In other words, given a data file like % cat grocery_list.txt eggs spam
11
4025
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 existence of the required modules. If they're not found I have it exit with a message that it need this or that installed. But this is not very convenient for the end user and I have got a few complaints about it. Am I missing something in...
5
2711
by: xkenneth | last post by:
Hi All, I'll shortly be distributing a number of python applications that use proprietary. The software is part of a much larger system and it will need to be distributed securely. How can i achieve this? Regards, Ken
0
9699
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, 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...
0
10542
Oralloy
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...
0
10309
jinu1996
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...
0
9119
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, 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...
0
6840
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();...
0
5496
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4274
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
2
3795
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2968
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 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...

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.