Browse Source

Bump Python version requirement for qvm-* to 3.5

Some of qvm-* tools do use asyncio and its API have changed between 3.4
and 3.5.
Marek Marczykowski-Górecki 5 years ago
parent
commit
bde60c154a
2 changed files with 4 additions and 5 deletions
  1. 2 2
      README.md
  2. 2 3
      setup.py

+ 2 - 2
README.md

@@ -7,8 +7,8 @@ Compatibility
 =============
 
 Most of the API modules are compatible with Python >= 2.7.
-Very few parts require Python >= 3.4:
+Very few parts require Python >= 3.5:
  - tools (`qvm-*`)
  - qubesadmin.events module (for asyncio module)
 
-Parts not compatible with Python < 3.4, are not installed in such environment.
+Parts not compatible with Python < 3.5, are not installed in such environment.

+ 2 - 3
setup.py

@@ -6,10 +6,9 @@ import setuptools.command.install
 import sys
 
 exclude=[]
-if sys.version_info[0:2] < (3, 4):
-    exclude += ['qubesadmin.tools', 'qubesadmin.tests.tools']
-    exclude += ['qubesadmin.backup', 'qubesadmin.tests.backup']
 if sys.version_info[0:2] < (3, 5):
+    exclude += ['qubesadmin.backup', 'qubesadmin.tests.backup']
+    exclude += ['qubesadmin.tools', 'qubesadmin.tests.tools']
     exclude += ['qubesadmin.events']
 
 # don't import: import * is unreliable and there is no need, since this is