I ran into a problem where an "import Foo" was picking up the Foo in 
WebKit. Launch.py was previously tweaked to fix this but then got tweaked 
back. However, we don't ever want "import Foo" to assume WebKit.

I made the following changes:

- Incorporated Geoff's path cleaning code from Cookie.py. No path ending in 
'webkit' or equal to '.' is kept.

- '' is always the first sys.path element.

- The cur dir becomes Webware/

- Got rid of WebwarePathLocation usage. A script always knows where it's at 
with:
        os.path.dirname(os.path.join(os.getcwd(), sys.argv[0]))


I tested on Windows ME. Please give it a try.

If you think further Launch.py mods are required in the area of path 
management, let's discuss them on the list first.


-Chuck


_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to