Browse Source

dns is used by android now

283
ThomasV 10 years ago
parent
commit
064f0b71e2
  1. 2
      contrib/make_android
  2. 3
      electrum

2
contrib/make_android

@ -21,8 +21,6 @@ if __name__ == '__main__':
shutil.copyfile('scripts/authenticator.py', target + '/authenticator.py')
shutil.copytree("packages",'dist/e4a-%s/packages'%version, ignore=shutil.ignore_patterns('*.pyc'))
shutil.copytree("lib",'dist/e4a-%s/lib'%version, ignore=shutil.ignore_patterns('*.pyc'))
# dns is not used by android app
os.system('rm -rf %s/packages/dns'%target)
os.mkdir(target + '/gui')
shutil.copyfile('gui/android.py', target + '/gui/android.py')
open(target + '/gui/__init__.py','w').close()

3
electrum

@ -37,8 +37,7 @@ elif is_bundle and sys.platform=='darwin':
# pure-python dependencies need to be imported here for pyinstaller
try:
if not is_android:
import dns
import dns
import aes
import ecdsa
import requests

Loading…
Cancel
Save