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

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to