473,385 Members | 1,769 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,385 software developers and data experts.

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 2108
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.org.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.org.uk
Jul 18 '05 #6

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

Similar topics

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...
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...
5
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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...

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.