473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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,

--
alf
Aug 25 '06 #1
12 1380
"alf" <as*@me.xs4all.nlwrote:
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>

Aug 25 '06 #2
alf
Fredrik Lundh wrote:
"alf" <as*@me.xs4all.nlwrote:

>>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>
thx for the hint ...
Aug 28 '06 #3
Fredrik Lundh schrieb:
>Is there any way to force the actual python site-lib for M$ installers????

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
Aug 28 '06 #4
alf
Martin v. Löwis wrote:
>>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" :-).

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

--
alf

Aug 29 '06 #5
alf wrote:
Martin v. Löwis wrote:
>>>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" :-).

ok, let me clarify, by M$ I meant Micro$oft.
I suspect that's the significance of the smiley.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

Aug 29 '06 #6
alf wrote:
ok, let me clarify, by M$ I meant Micro$oft.
http://www.catb.org/~esr/faqs/smart-...html#writewell

</F>

Aug 29 '06 #7
DH
Fredrik Lundh wrote:
alf wrote:
>ok, let me clarify, by M$ I meant Micro$oft.

http://www.catb.org/~esr/faqs/smart-...html#writewell

</F>
And by /F, you mean fuck off?

http://www.libervis.com/blogs/15/Jas...the_rtfm_jerks
http://www.codinghorror.com/blog/archives/000603.html
Aug 29 '06 #8
alf
Fredrik Lundh wrote:
>
http://www.catb.org/~esr/faqs/smart-...html#writewell

</F>
and </Fmeans?

Aug 30 '06 #9
alf wrote:
Fredrik Lundh wrote:
>http://www.catb.org/~esr/faqs/smart-...html#writewell

</F>

and </Fmeans?
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

Aug 30 '06 #10
alf
Robert Kern wrote:
alf wrote:
>Fredrik Lundh wrote:
>>http://www.catb.org/~esr/faqs/smart-...html#writewell

</F>


and </Fmeans?


It's his signature.
The sig is delimited by '-- \n'

--
alf
Aug 31 '06 #11
alf wrote:
Robert Kern wrote:
>alf wrote:
>>Fredrik Lundh wrote:

http://www.catb.org/~esr/faqs/smart-...html#writewell

</F>
and </Fmeans?


It's his signature.

The sig is delimited by '-- \n'
Yes, and Earth is a disk.

Georg
Aug 31 '06 #12
alf
Georg Brandl wrote:
>>>
It's his signature.

The sig is delimited by '-- \n'


Yes, and Earth is a disk.
how deep

--
alf
Sep 1 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Jeffrey Barish | last post by:
Since upgrading to python 2.4 yesterday, I am no longer able to use Tkinter. From http://www.python.org/moin/TkInter I learned that I need to edit Modules/Setup to include Tkinter during the make....
9
by: TPJ | last post by:
First I have to admit that my English isn't good enough. I'm still studying and sometimes I just can't express what I want to express. A few weeks ago I've written 'Python Builder' - a bash...
6
by: Ernesto | last post by:
Does anyone know how to start Python program(s) from a Linux shell script? Is it just $python myscript.py ?? Thanks,
27
by: Julien Fiore | last post by:
Do you wand to install Pyrex on Windows ? Here is a step-by-step guide explaining: A) how to install Pyrex on Windows XP. B) how to compile a Pyrex module. Julien Fiore, U. of Geneva
48
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott...
26
by: Kevin D. Smith | last post by:
I've written a simple Python extension for UNIX, but I need to get it working on Windows now. I'm having some difficulties figuring out how to do this. I've seen web pages that say that MS Visual...
34
by: Ben Sizer | last post by:
I've installed several different versions of Python across several different versions of MS Windows, and not a single time was the Python directory or the Scripts subdirectory added to the PATH...
9
by: Todd Whiteman | last post by:
I've put together a tutorial that shows off how to build a GUI application using XULRunner (same architectural components as Firefox uses) that can be used in conjunction with the Python...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.