[Supervisor-checkins] r873 - supervisor/trunk

Mike Naberezny mike at maintainable.com
Wed May 27 12:23:27 EDT 2009


Author: Mike Naberezny <mike at maintainable.com>
Date: Wed May 27 12:23:27 2009
New Revision: 873

Log:
  - Fixed a bug introduced in 3.0a7 where setup.py would not detect the
    Python version correctly.  Patch by Daniele Paolella.



Modified:
   supervisor/trunk/CHANGES.txt
   supervisor/trunk/setup.py

Modified: supervisor/trunk/CHANGES.txt
==============================================================================
--- supervisor/trunk/CHANGES.txt	(original)
+++ supervisor/trunk/CHANGES.txt	Wed May 27 12:23:27 2009
@@ -1,3 +1,8 @@
+Next Release
+
+  - Fixed a bug introduced in 3.0a7 where setup.py would not detect the
+    Python version correctly.  Patch by Daniele Paolella.
+
 3.0a7
  
   - We now bundle our own patched version of Medusa contributed by Jason

Modified: supervisor/trunk/setup.py
==============================================================================
--- supervisor/trunk/setup.py	(original)
+++ supervisor/trunk/setup.py	Wed May 27 12:23:27 2009
@@ -27,15 +27,14 @@
 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 "
            "supported version" % sys.version)
 
 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')
 


More information about the Supervisor-checkins mailing list