M$ windows python libs installed in arbitrary directories for customizedpython distributions

A

alf

Hi,

for some reason I have to deal with custom python distributions.

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????

thx in advance,
 
F

Fredrik Lundh

alf said:
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>
 
?

=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=

Fredrik said:
it's spelled "Windows installers"

I want to second this. It was me who created the installer, and I don't
like to see my name abbreviated as M$ (if you think you should write
out the name of the MSI creator, please say "Martin's installer" :).

Regards,
Martin
 
A

alf

Martin said:
I want to second this. It was me who created the installer, and I don't
like to see my name abbreviated as M$ (if you think you should write
out the name of the MSI creator, please say "Martin's installer" :).


ok, let me clarify, by M$ I meant Micro$oft.
 
R

Robert Kern

alf said:
and </F> means?

It's his signature.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top