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.
This commit is contained in:
parent
b1a191446a
commit
bde60c154a
@ -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.
|
||||
|
5
setup.py
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user