Python installation on a Windows shared disk
Peter Hansen
peter at engcorp.com
Mon Apr 15 21:39:31 EDT 2002
Gerhard Häring wrote:
>
> Eric Brunel wrote in comp.lang.python:
> > Hi all,
> >
> > I'm trying to do an installation of Python 2.1 on a shared Windows 2K disk.
> > People should then be able to use this installation from all PCs seeing this
> > disk. [...]
>
> This should work:
>
> - Install Python in a directory on your share
> - Copy the Python$VERSION.DLL from $SYSTEMROOT/System32/ into the
> directory you installed Python in (in the same one the python.exe
> went)
> - Put this share in the PATH on your client PCs
>
> Nothing more should be needed.
I've found it very helpful to have PYTHONHOME set on each
machine that uses it, but then again the directory with
the executable is not in our PATHs, but instead we use
a batch file in a different folder which is in the PATH
to launch python.exe. Not sure whether that's why we
thought we needed PYTHONHOME set.
The advantage is possibly that merely by changing
PYTHONHOME and running a different batch file, we
can support older versions also on the network.
-Peter
More information about the Python-list
mailing list