bump min python to 3.6

This commit is contained in:
SomberNight 2018-09-11 21:04:36 +02:00
parent 9ffd2de492
commit bed35a65c7
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9
3 changed files with 5 additions and 4 deletions

View file

@ -5,7 +5,7 @@ Electrum - Lightweight Bitcoin client
Licence: MIT Licence
Author: Thomas Voegtlin
Language: Python
Language: Python (>= 3.6)
Homepage: https://electrum.org/

View file

@ -7,6 +7,6 @@ dnspython
jsonrpclib-pelix
qdarkstyle<3.0
typing>=3.0.0
aiorpcx>=0.7.1
aiorpcx>=0.7.1,<0.8
aiohttp
aiohttp_socks

View file

@ -20,8 +20,8 @@ with open('contrib/requirements/requirements-hw.txt') as f:
version = imp.load_source('version', 'electrum/version.py')
if sys.version_info[:3] < (3, 4, 0):
sys.exit("Error: Electrum requires Python version >= 3.4.0...")
if sys.version_info[:3] < (3, 6, 0):
sys.exit("Error: Electrum requires Python version >= 3.6.0...")
data_files = []
@ -71,6 +71,7 @@ class CustomInstallCommand(install):
setup(
name="Electrum",
version=version.ELECTRUM_VERSION,
python_requires='>=3.6',
install_requires=requirements,
extras_require=extras_require,
packages=[