Skip to content

Instantly share code, notes, and snippets.

@lae
Created July 18, 2018 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lae/ec3d9c5eac5fb2aa831a20e368077c13 to your computer and use it in GitHub Desktop.
Save lae/ec3d9c5eac5fb2aa831a20e368077c13 to your computer and use it in GitHub Desktop.
[lae@haruka ~]$ mkvirtualenv electrum-3.2.3-test
Using base prefix '/usr'
New python executable in /home/lae/.virtualenvs/electrum-3.2.3-test/bin/python
Installing setuptools, pip, wheel...done.
virtualenvwrapper.user_scripts creating /home/lae/.virtualenvs/electrum-3.2.3-test/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/lae/.virtualenvs/electrum-3.2.3-test/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/lae/.virtualenvs/electrum-3.2.3-test/bin/preactivate
virtualenvwrapper.user_scripts creating /home/lae/.virtualenvs/electrum-3.2.3-test/bin/postactivate
virtualenvwrapper.user_scripts creating /home/lae/.virtualenvs/electrum-3.2.3-test/bin/get_env_details
(electrum-3.2.3-test) [lae@haruka ~]$ cd /tmp
(electrum-3.2.3-test) [lae@haruka tmp]$ git clone git://github.com/spesmilo/electrum.git
Cloning into 'electrum'...
remote: Counting objects: 48777, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 48777 (delta 1), reused 1 (delta 0), pack-reused 48769
Receiving objects: 100% (48777/48777), 24.57 MiB | 8.54 MiB/s, done.
Resolving deltas: 100% (35391/35391), done.
(electrum-3.2.3-test) [lae@haruka tmp]$ ^C
(electrum-3.2.3-test) [lae@haruka tmp]$ rm electrum/ -rf
(electrum-3.2.3-test) [lae@haruka tmp]$ git clone git://github.com/spesmilo/electrum.git --depth=1
Cloning into 'electrum'...
remote: Counting objects: 480, done.
remote: Compressing objects: 100% (452/452), done.
remote: Total 480 (delta 30), reused 260 (delta 16), pack-reused 0
Receiving objects: 100% (480/480), 3.46 MiB | 8.59 MiB/s, done.
Resolving deltas: 100% (30/30), done.
(electrum-3.2.3-test) [lae@haruka tmp]$ cd electrum/
(electrum-3.2.3-test) [lae@haruka electrum]$ pip3 install .[fast]
Processing /tmp/electrum
Collecting pyaes>=0.1a1 (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/44/66/2c17bae31c906613795711fc78045c285048168919ace2220daa372c7d72/pyaes-1.6.1.tar.gz
Collecting ecdsa>=0.9 (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/63/f4/73669d51825516ce8c43b816c0a6b64cd6eb71d08b99820c00792cb42222/ecdsa-0.13-py2.py3-none-any.whl (86kB)
100% |████████████████████████████████| 92kB 2.7MB/s
Collecting requests (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
100% |████████████████████████████████| 92kB 2.7MB/s
Collecting qrcode (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/79/be/11999004f7e6e5db0fa410c2feacd67c07f472f4500fde0026101f31d0df/qrcode-6.0-py2.py3-none-any.whl
Collecting protobuf (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/fc/f0/db040681187496d10ac50ad167a8fd5f953d115b16a7085e19193a6abfd2/protobuf-3.6.0-cp36-cp36m-manylinux1_x86_64.whl (7.1MB)
100% |████████████████████████████████| 7.1MB 4.9MB/s
Collecting dnspython (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/a6/72/209e18bdfedfd78c6994e9ec96981624a5ad7738524dd474237268422cb8/dnspython-1.15.0-py2.py3-none-any.whl (177kB)
100% |████████████████████████████████| 184kB 14.0MB/s
Collecting jsonrpclib-pelix (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/d1/60/78ab51b5dc9d0dc5e545af8c19d0e985420d9495b43532558e3986c323ae/jsonrpclib_pelix-0.3.1-py2.py3-none-any.whl (40kB)
100% |████████████████████████████████| 40kB 7.1MB/s
Collecting PySocks>=1.6.6 (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/53/12/6bf1d764f128636cef7408e8156b7235b150ea31650d0260969215bb8e7d/PySocks-1.6.8.tar.gz (283kB)
100% |████████████████████████████████| 286kB 12.2MB/s
Collecting qdarkstyle<3.0 (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/97/26/4ec7b5c654d69bce00004deb78dff72879d9dc5031b7b4f9f0736070083a/QDarkStyle-2.5.4-py2.py3-none-any.whl (118kB)
100% |████████████████████████████████| 122kB 7.1MB/s
Collecting pycryptodomex (from Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/06/bb/11e180aa7f7894a29b5336415d2183fb113106a0678cd24c276b024d62ce/pycryptodomex-3.6.4-cp36-cp36m-manylinux1_x86_64.whl (7.4MB)
100% |████████████████████████████████| 7.4MB 5.0MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests->Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB 11.7MB/s
Collecting idna<2.8,>=2.5 (from requests->Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
100% |████████████████████████████████| 61kB 16.2MB/s
Collecting urllib3<1.24,>=1.21.1 (from requests->Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB 12.6MB/s
Collecting certifi>=2017.4.17 (from requests->Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB)
100% |████████████████████████████████| 153kB 6.0MB/s
Collecting six (from qrcode->Electrum==3.2.2)
Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /home/lae/.virtualenvs/electrum-3.2.3-test/lib/python3.6/site-packages (from protobuf->Electrum==3.2.2) (40.0.0)
Building wheels for collected packages: Electrum, pyaes, PySocks
Running setup.py bdist_wheel for Electrum ... done
Stored in directory: /tmp/pip-ephem-wheel-cache-5nqwcv9z/wheels/e9/90/b1/b37e53643d6d804e1622e68983e1c977c88834ff7e2b82f38a
Running setup.py bdist_wheel for pyaes ... done
Stored in directory: /home/lae/.cache/pip/wheels/bd/cf/7b/ced9e8f28c50ed666728e8ab178ffedeb9d06f6a10f85d6432
Running setup.py bdist_wheel for PySocks ... done
Stored in directory: /home/lae/.cache/pip/wheels/22/5c/b5/12e0dfdfa85bea67b23628b6425fae715c687e947a45ee3df9
Successfully built Electrum pyaes PySocks
Installing collected packages: pyaes, ecdsa, chardet, idna, urllib3, certifi, requests, six, qrcode, protobuf, dnspython, jsonrpclib-pelix, PySocks, qdarkstyle, pycryptodomex, Electrum
Successfully installed Electrum-3.2.2 PySocks-1.6.8 certifi-2018.4.16 chardet-3.0.4 dnspython-1.15.0 ecdsa-0.13 idna-2.7 jsonrpclib-pelix-0.3.1 protobuf-3.6.0 pyaes-1.6.1 pycryptodomex-3.6.4 qdarkstyle-2.5.4 qrcode-6.0 requests-2.19.1 six-1.11.0 urllib3-1.23
(electrum-3.2.3-test) [lae@haruka electrum]$ which electrum
/home/lae/.virtualenvs/electrum-3.2.3-test/bin/electrum
(electrum-3.2.3-test) [lae@haruka electrum]$ which run_electrum
which: no run_electrum in (/home/lae/.virtualenvs/electrum-3.2.3-test/bin:/home/lae/perl5/bin:/home/lae/bin:/home/lae/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment