setup.py uses the string sys.version to determine whether Supervisor requires 
elementtree, where it probably wanted to compare the tuple sys.version_info; 
I'm using the attached patch with the 3.0a7 package I'm mantaining for 
ArchLinux, as you can see here: 
http://aur.archlinux.org/packages.php?ID=19972.
diff -ru a/setup.py b/setup.py
--- a/setup.py	2009-05-24 21:41:15.000000000 +0200
+++ b/setup.py	2009-05-27 12:36:51.000000000 +0200
@@ -27,7 +27,7 @@
 import os
 import sys
 
-if sys.version < (2, 3):
+if sys.version_info < (2, 3):
 
     msg = ("supervisor requires Python 2.3 or better, you are attempting to "
            "install it using version %s.  Please install with a "
@@ -35,7 +35,7 @@
 
 requires = ['meld3 >= 0.6.5']
 
-if sys.version < (2, 5):
+if sys.version_info < (2, 5):
     # for meld3 (its a distutils package)
     requires.append('elementtree')
 
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to