remove jsonrpclib dependency

This commit is contained in:
ThomasV 2019-08-19 09:16:49 +02:00
parent 54257cbcca
commit 2e1829bc24
2 changed files with 0 additions and 3 deletions

View file

@ -3,7 +3,6 @@ ecdsa>=0.13
qrcode
protobuf
dnspython
jsonrpclib-pelix
qdarkstyle<2.7
aiorpcx>=0.18,<0.19
aiohttp>=3.3.0

View file

@ -61,7 +61,6 @@ def check_imports():
import certifi
import qrcode
import google.protobuf
import jsonrpclib
import aiorpcx
except ImportError as e:
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
@ -70,7 +69,6 @@ def check_imports():
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
from jsonrpclib import SimpleJSONRPCServer
# make sure that certificates are here
assert os.path.exists(certifi.where())