
Hi, I've been using some of the latest setuptools features, but had to make a couple of trivial patches for win32/python2.3: Index: pkg_resources.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/ pkg_resources.py,v retrieving revision 1.54 diff -r1.54 pkg_resources.py 1040c1040 < return fspath[len(self.zip_pre):] ---
return fspath[len(self.zip_pre):].replace(os.sep, '/')
1446c1446 < parent = '.'.join(package.split('.')[:-1]) ---
parent = '.'.join(packageName.split('.')[:-1])
Index: setup.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setup.py,v retrieving revision 1.33 diff -r1.33 setup.py 47c47 < for cmd in SETUP_COMMANDS if cmd!="build_py" or sys.version>="2.4" ---
for cmd in SETUP_COMMANDS if not (cmd=="build_py" and
sys.version>="2.4") Hope this helps. Cheers, Ashley Walsh

At 04:02 PM 7/29/2005 +1000, Ashley Walsh wrote:
What problem is this change intended to correct? AFAIK, the zipinfo cache created by zipimport uses os.sep in its internal paths, which is why I was deliberately *not* replacing os.sep with a '/', and the rest of the code depends on this as far as I know.
Hope this helps.
Thanks. The others look correct, I just wonder about that one above.

At 04:02 PM 7/29/2005 +1000, Ashley Walsh wrote:
What problem is this change intended to correct? AFAIK, the zipinfo cache created by zipimport uses os.sep in its internal paths, which is why I was deliberately *not* replacing os.sep with a '/', and the rest of the code depends on this as far as I know.
Hope this helps.
Thanks. The others look correct, I just wonder about that one above.
participants (2)
-
Ashley Walsh
-
Phillip J. Eby