[wxPython] Python Win32 Path Setting

I'm going to ask this question in the more general Python discussion groups,
but I find alot of expertise on the Win32 platform in this forum.

I'm trying to distribute my applications to user with "locked" down Windows2000
machines, which means I don't have full control to the "Software" installation
part of the registry. Prior to this I could control the registry and get
things working just fine.

This means for adding in win32 com extensions I can use a setup program to put
the modules and DLL's into the System32 folder, but cannot create my own
registry keys to point pythoncom, pywintypes, etc. modules to the correct path.
I'm kind of surprised defaults don't get used.

Does anyone know how to set up my own "path" definition without relying on the
Windows registry?

This is easy enough for the base Python modules using "os.path", but I cannot
seem to get the win32 modules to find their proper paths.

The following link has a couple "clues" but is more interesting, but is more on
how the registry is used.

http://www.python.org/windows/python/registry.html

The other newsgroups have only some statements on editing the registry.

Does anyone know how to set up my own "path" definition without relying on the
Windows registry?

It is possible to set environment variables like PYTHONPATH without going through the registry. This will (should) solve the problems. This can be done under Win2K by right clicking on My Computer, selecting the Advanced Tab, then clicking the environment button. Or (in theory, I haven't tried this) you can use the "set" command inside your autoexec.nt file. It can also be done for a given dos shell from the command line (this does not appear to have any impact on global settings).

Hope this helps,
-greg

ยทยทยท

----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist