summaryrefslogtreecommitdiff
path: root/finance/electrum/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'finance/electrum/files/patch-setup.py')
-rw-r--r--finance/electrum/files/patch-setup.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/finance/electrum/files/patch-setup.py b/finance/electrum/files/patch-setup.py
deleted file mode 100644
index ba52667c4755..000000000000
--- a/finance/electrum/files/patch-setup.py
+++ /dev/null
@@ -1,24 +0,0 @@
---- setup.py.orig 2018-03-12 17:25:11 UTC
-+++ setup.py
-@@ -27,12 +27,6 @@ if platform.system() in ['Linux', 'FreeB
- parser.add_argument('--root=', dest='root_path', metavar='dir', default='/')
- opts, _ = parser.parse_known_args(sys.argv[1:])
- usr_share = os.path.join(sys.prefix, "share")
-- if not os.access(opts.root_path + usr_share, os.W_OK) and \
-- not os.access(opts.root_path, os.W_OK):
-- if 'XDG_DATA_HOME' in os.environ.keys():
-- usr_share = os.environ['XDG_DATA_HOME']
-- else:
-- usr_share = os.path.expanduser('~/.local/share')
- data_files += [
- (os.path.join(usr_share, 'applications/'), ['electrum.desktop']),
- (os.path.join(usr_share, 'pixmaps/'), ['icons/electrum.png'])
-@@ -86,8 +80,3 @@ setup(
- url="https://electrum.org",
- long_description="""Lightweight Bitcoin Wallet"""
- )
--
--# Optional modules (not required to run Electrum)
--import pip
--opt_modules = requirements_hw + ['pycryptodomex']
--[ pip.main(['install', m]) for m in opt_modules ]