M$ windows python libs installed in arbitrary directories forcustomized python distributions

Fredrik Lundh fredrik at pythonware.com
Fri Aug 25 06:50:11 EDT 2006


"alf" <ask at me.xs4all.nl> wrote:

> It turned out it is quite simple - I just install the python from
> python.org and all the libs needed. Then I take python2n.dll from
> c:\win*\system32 and move directly to PYTHONDIR. Then I can just tar/zip
> the PYTHON dir and distribute around so users do not have to deal with
> dozen of libs and packages.
>
> Small difficulty is a maintenance of such "distribution". Namely when I
> want install a new lib M$ installer just can not find my python
> installations probably due to missing registry entries.
>
> Is there any way to force the actual python site-lib for M$ installers????

it's spelled "Windows installers", and code to do the necessary registry updates
can be found here:

    http://effbot.org/zone/python-register.htm

</F> 






More information about the Python-list mailing list