forked from LBRYCommunity/lbry-sdk
remove txrequests dependency
This commit is contained in:
parent
7f88dda0ae
commit
e170f3db3e
3 changed files with 1 additions and 3 deletions
|
@ -37,7 +37,7 @@ def get_platform(get_ip=True):
|
||||||
"build": build_type.BUILD, # CI server sets this during build step
|
"build": build_type.BUILD, # CI server sets this during build step
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: remove this from get_platform and add a get_external_ip function using txrequests
|
# TODO: remove this from get_platform and add a get_external_ip function using treq
|
||||||
if get_ip:
|
if get_ip:
|
||||||
try:
|
try:
|
||||||
response = json.loads(urlopen("https://api.lbry.io/ip").read())
|
response = json.loads(urlopen("https://api.lbry.io/ip").read())
|
||||||
|
|
|
@ -20,7 +20,6 @@ pyyaml==3.12
|
||||||
PyGithub==1.34
|
PyGithub==1.34
|
||||||
qrcode==5.2.2
|
qrcode==5.2.2
|
||||||
requests==2.9.1
|
requests==2.9.1
|
||||||
txrequests==0.9.5
|
|
||||||
service_identity==16.0.0
|
service_identity==16.0.0
|
||||||
six>=1.9.0
|
six>=1.9.0
|
||||||
slowaes==0.1a1
|
slowaes==0.1a1
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -25,7 +25,6 @@ requires = [
|
||||||
'miniupnpc',
|
'miniupnpc',
|
||||||
'pyyaml',
|
'pyyaml',
|
||||||
'requests',
|
'requests',
|
||||||
'txrequests',
|
|
||||||
'txJSON-RPC',
|
'txJSON-RPC',
|
||||||
'zope.interface',
|
'zope.interface',
|
||||||
'docopt'
|
'docopt'
|
||||||
|
|
Loading…
Reference in a new issue