remove jsonrpclib dependency
This commit is contained in:
@@ -3,7 +3,6 @@ ecdsa>=0.13
|
|||||||
qrcode
|
qrcode
|
||||||
protobuf
|
protobuf
|
||||||
dnspython
|
dnspython
|
||||||
jsonrpclib-pelix
|
|
||||||
qdarkstyle<2.7
|
qdarkstyle<2.7
|
||||||
aiorpcx>=0.18,<0.19
|
aiorpcx>=0.18,<0.19
|
||||||
aiohttp>=3.3.0
|
aiohttp>=3.3.0
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ def check_imports():
|
|||||||
import certifi
|
import certifi
|
||||||
import qrcode
|
import qrcode
|
||||||
import google.protobuf
|
import google.protobuf
|
||||||
import jsonrpclib
|
|
||||||
import aiorpcx
|
import aiorpcx
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
|
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 message
|
||||||
from google.protobuf import reflection
|
from google.protobuf import reflection
|
||||||
from google.protobuf import descriptor_pb2
|
from google.protobuf import descriptor_pb2
|
||||||
from jsonrpclib import SimpleJSONRPCServer
|
|
||||||
# make sure that certificates are here
|
# make sure that certificates are here
|
||||||
assert os.path.exists(certifi.where())
|
assert os.path.exists(certifi.where())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user