libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1210025 - in /libcloud/trunk: CHANGES setup.py
Date Sat, 03 Dec 2011 22:26:08 GMT
Author: tomaz
Date: Sat Dec  3 22:26:08 2011
New Revision: 1210025

URL: http://svn.apache.org/viewvc?rev=1210025&view=rev
Log:
Update CHANGES and setup.py.

Modified:
    libcloud/trunk/CHANGES
    libcloud/trunk/setup.py

Modified: libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1210025&r1=1210024&r2=1210025&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Sat Dec  3 22:26:08 2011
@@ -1,6 +1,11 @@
                                                         -*- coding: utf-8 -*-
 
 Changes with Apache Libcloud in development:
+  *) General:
+
+     - Add support for Python 3.x.
+       [Tomaz Muraus]
+
   *) Compute:
 
      - Update CloudSigma Zurich API endpoint address.

Modified: libcloud/trunk/setup.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/setup.py?rev=1210025&r1=1210024&r2=1210025&view=diff
==============================================================================
--- libcloud/trunk/setup.py (original)
+++ libcloud/trunk/setup.py Sat Dec  3 22:26:08 2011
@@ -31,10 +31,17 @@ HTML_VIEWSOURCE_BASE = 'https://svn.apac
 PROJECT_BASE_DIR = 'http://libcloud.apache.org'
 TEST_PATHS = ['test', 'test/common', 'test/compute', 'test/storage',
               'test/loadbalancer', 'test/dns']
-DOC_TEST_MODULES = [ 'libcloud.compute.drivers.dummy',
+DOC_TEST_MODULES = ['libcloud.compute.drivers.dummy',
                      'libcloud.storage.drivers.dummy',
-                     'libcloud.dns.drivers.dummy' ]
+                     'libcloud.dns.drivers.dummy']
 
+SUPPORTED_VERSIONS = ['2.5', '2.6', '2.7', 'PyPy', '3.x']
+
+if sys.version_info <= (2, 4):
+    version = '.'.join([str(x) for x in sys.version_info[:3]])
+    print('Version ' + version + ' is not supported. Supported versions are ' +
+          ', '.join(SUPPORTED_VERSIONS))
+    sys.exit(1)
 
 def read_version_string():
     version = None



Mime
View raw message