2 Jan 2000 06:52
RE: Re: [Distutils] Questions about distutils strategy
Tim Peters <tim_one <at> email.msn.com>
2000-01-02 05:52:34 GMT
2000-01-02 05:52:34 GMT
Briefly backtracking to an old thread: [Guido] > ... > The problem lies in which key is used. All versions of > Python 1.5.x (1.5, 1.5.1, 1.5.2) use the same key! This > is a main cause of trouble, because it means that different > versions cannot peacefully live together even if the user > installs them into different directories -- they will all > use the registry keys of the last version installed. This, > in turn, means that someone who writes a Python application > that has a dependency on a particular Python version (and > which application worth distributing doesn't(Continue reading)cannot > trust that if a Python installation is present, it is the > right one. But they also cannot simply bundle the standard > installer for the correct Python version with their program, > because its installation would overwrite an existing Python > application, thus breaking some *other* Python apps that > the user might already have installed. Right, that's one class of intractable problem under Windows. *Inside* my workplace, another kind of problem is caused when people try to make a Python app available over the Windows network. They stick the Python they want and its libraries out on the network, with python.exe in the same directory as the app. Now some people have highly customized Python setups, and the network Python picks up "the wrong" site.py etc. That sucks, and there appears no sane way to stop it. Telling internal app distributors they need to invent a unique registry key
cannot
> trust that if a Python installation is present, it is the
> right one. But they also cannot simply bundle the standard
> installer for the correct Python version with their program,
> because its installation would overwrite an existing Python
> application, thus breaking some *other* Python apps that
> the user might already have installed.
Right, that's one class of intractable problem under Windows.
*Inside* my workplace, another kind of problem is caused when people try to
make a Python app available over the Windows network. They stick the Python
they want and its libraries out on the network, with python.exe in the same
directory as the app. Now some people have highly customized Python setups,
and the network Python picks up "the wrong" site.py etc. That sucks, and
there appears no sane way to stop it.
Telling internal app distributors they need to invent a unique registry key
RSS Feed