Browse Source

workaround the official distribution of tlslite

283
ThomasV 11 years ago
parent
commit
1023240369
  1. 4
      lib/paymentrequest.py
  2. 4
      setup.py

4
lib/paymentrequest.py

@ -77,6 +77,7 @@ def load_certificates():
x.parse(c)
except Exception as e:
util.print_error("cannot parse cert:", e)
continue
ca_list[x.getFingerprint()] = x
ca_f.close()
util.print_error("%d certificates"%len(ca_list))
@ -325,6 +326,9 @@ class PaymentRequest:
if __name__ == "__main__":
util.set_verbosity(True)
load_certificates()
try:
uri = sys.argv[1]
except:

4
setup.py

@ -52,11 +52,13 @@ data_files += [
])
]
# replace tlslite
os.system("pip install http://download.electrum.org/tlslite-0.4.5.tar.gz")
setup(
name="Electrum",
version=version.ELECTRUM_VERSION,
install_requires=['slowaes', 'ecdsa>=0.9', 'pbkdf2', 'requests', 'pyasn1', 'pyasn1-modules', 'tlslite>=0.4.5', 'qrcode'],
install_requires=['slowaes', 'ecdsa>=0.9', 'pbkdf2', 'requests', 'pyasn1', 'pyasn1-modules', 'qrcode'],
package_dir={
'electrum': 'lib',
'electrum_gui': 'gui',

Loading…
Cancel
Save