distutils/command/install_lib.py references os.extsep.
os.extsep is only available in pythons >= 2.2
(The result, naturally, is an uncaught AttributeError.)
Here's a quick patch (though the patch is flawed if
os.extsep is ever anything but '.' --- is it?)
----Begin Patch----
Index: cvs.2/distutils/command/install_lib.py
--- cvs.2/distutils/command/install_lib.py Mon, 25 Oct
2004 13:00:15 -0700 dairiki (distutils/b/43_install_li
1.1 644)
+++ cvs.2(w)/distutils/command/install_lib.py Tue, 02
Nov 2004 09:48:17 -0800 dairiki
(distutils/b/43_install_li 1.1 644)
@@ -9,7 +9,10 @@
# Extension for Python source files.
-PYTHON_SOURCE_EXTENSION = os.extsep + "py"
+try:
+ PYTHON_SOURCE_EXTENSION = os.extsep + "py"
+except AttributeError:
+ PYTHON_SOURCE_EXTENSION = '.py'
class install_lib (Command):
----End Patch----
|