dns is used by android now
This commit is contained in:
@@ -21,8 +21,6 @@ if __name__ == '__main__':
|
|||||||
shutil.copyfile('scripts/authenticator.py', target + '/authenticator.py')
|
shutil.copyfile('scripts/authenticator.py', target + '/authenticator.py')
|
||||||
shutil.copytree("packages",'dist/e4a-%s/packages'%version, ignore=shutil.ignore_patterns('*.pyc'))
|
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'))
|
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')
|
os.mkdir(target + '/gui')
|
||||||
shutil.copyfile('gui/android.py', target + '/gui/android.py')
|
shutil.copyfile('gui/android.py', target + '/gui/android.py')
|
||||||
open(target + '/gui/__init__.py','w').close()
|
open(target + '/gui/__init__.py','w').close()
|
||||||
|
|||||||
3
electrum
3
electrum
@@ -37,8 +37,7 @@ elif is_bundle and sys.platform=='darwin':
|
|||||||
|
|
||||||
# pure-python dependencies need to be imported here for pyinstaller
|
# pure-python dependencies need to be imported here for pyinstaller
|
||||||
try:
|
try:
|
||||||
if not is_android:
|
import dns
|
||||||
import dns
|
|
||||||
import aes
|
import aes
|
||||||
import ecdsa
|
import ecdsa
|
||||||
import requests
|
import requests
|
||||||
|
|||||||
Reference in New Issue
Block a user