By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,890 Members | 1,273 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,890 IT Pros & Developers. It's quick & easy.

Distributing Python programs

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
"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

P: n/a

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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.