install_mac -> install-mac, update readme for new mac release scripts
This commit is contained in:
parent
b1515e46c5
commit
2d46901f39
96
README.rst
96
README.rst
|
@ -59,7 +59,7 @@ Using Homebrew::
|
||||||
# Install Homebrew
|
# Install Homebrew
|
||||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
|
|
||||||
# (Optionally)
|
# (Optionally)
|
||||||
sudo chown -R "$USER":admin /usr/local
|
sudo chown -R "$USER":admin /usr/local
|
||||||
sudo chown -R "$USER":admin /Library/Caches/Homebrew
|
sudo chown -R "$USER":admin /Library/Caches/Homebrew
|
||||||
|
|
||||||
|
@ -68,20 +68,26 @@ Using Homebrew::
|
||||||
brew link python3
|
brew link python3
|
||||||
brew postinstall python3
|
brew postinstall python3
|
||||||
|
|
||||||
# Python setuptools
|
# Python setuptools
|
||||||
curl https://bootstrap.pypa.io/ez_setup.py -o - | python3
|
curl https://bootstrap.pypa.io/ez_setup.py -o - | python3
|
||||||
|
|
||||||
# Install pyqt5
|
# Install pyqt5
|
||||||
pip3 install pyqt5
|
pip3 install pyqt5
|
||||||
|
|
||||||
# Setup
|
# Install Protobuf
|
||||||
|
brew install protobuf
|
||||||
|
|
||||||
|
# Setup
|
||||||
python3 setup.py install
|
python3 setup.py install
|
||||||
|
|
||||||
|
|
||||||
|
# Build icons
|
||||||
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
|
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
./electrum
|
./electrum
|
||||||
|
|
||||||
Alternatively, copy the generated `build/scripts-3.6/electrum` to the main directory::
|
`(Alternatively, copy the generated "build/scripts-3.6/electrum" to the main directory)`::
|
||||||
|
|
||||||
cp -f build/scripts-3.6/electrum electrum-mac
|
cp -f build/scripts-3.6/electrum electrum-mac
|
||||||
./electrum-mac
|
./electrum-mac
|
||||||
|
@ -92,18 +98,23 @@ For Linux:
|
||||||
|
|
||||||
Install Dependencies::
|
Install Dependencies::
|
||||||
|
|
||||||
sudo apt-get install python3-pyqt5
|
sudo apt-get install python3-pip python3-setuptools python3-dev python3-pyqt5
|
||||||
sudo pip2 install pyblake2
|
sudo pip2 install pyblake2
|
||||||
|
pip3 install pyqt5
|
||||||
sudo apt-get install python3-setuptools
|
|
||||||
python3 setup.py install
|
python3 setup.py install
|
||||||
|
|
||||||
Compile the icons file for QT::
|
# OPTIONAL: Install without sudo -
|
||||||
|
# If you do not have a dir located at /usr/local/lib/python3.6/site-packages/
|
||||||
|
# you will need to create this before running the install.
|
||||||
|
|
||||||
|
mkdir /usr/local/lib/python3.6/site-packages/
|
||||||
|
|
||||||
|
Compile the icons file for Qt::
|
||||||
|
|
||||||
sudo apt-get install pyqt5-dev-tools
|
sudo apt-get install pyqt5-dev-tools
|
||||||
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
|
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
|
||||||
|
|
||||||
For the linux app launcher (start menu) icon::
|
For the Linux app launcher (start menu) icon::
|
||||||
|
|
||||||
sudo desktop-file-install electrum.desktop
|
sudo desktop-file-install electrum.desktop
|
||||||
|
|
||||||
|
@ -123,6 +134,40 @@ Run::
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Building Releases
|
||||||
|
=================
|
||||||
|
|
||||||
|
|
||||||
|
MacOS
|
||||||
|
------
|
||||||
|
|
||||||
|
Simply - ::
|
||||||
|
|
||||||
|
sh ./setup-mac.sh
|
||||||
|
|
||||||
|
sudo sh ./install-mac.sh
|
||||||
|
|
||||||
|
Windows
|
||||||
|
-------
|
||||||
|
|
||||||
|
See `contrib/build-wine/README` file.
|
||||||
|
|
||||||
|
|
||||||
|
Android
|
||||||
|
-------
|
||||||
|
|
||||||
|
See `gui/kivy/Readme.txt` file.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
To just create binaries, create the 'packages/' directory::
|
||||||
|
|
||||||
|
./contrib/make_packages
|
||||||
|
|
||||||
|
(This directory contains the Python dependencies used by Electrum.)
|
||||||
|
|
||||||
|
|
||||||
ZCL Hints and Debug
|
ZCL Hints and Debug
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
@ -141,35 +186,12 @@ Also be sure to check out:::
|
||||||
|
|
||||||
~/.electrum-zcl/
|
~/.electrum-zcl/
|
||||||
|
|
||||||
`~/.electrum-zcl/wallets/` has your wallet files - this folder can be backed up.
|
~/.electrum-zcl/wallets/ has your wallet files - ** back up this folder **
|
||||||
|
|
||||||
`~/.electrum-zcl/config` has your Electrum connection object.
|
~/.electrum-zcl/config has your Electrum connection object.
|
||||||
|
|
||||||
|
|
||||||
=================
|
---
|
||||||
|
|
||||||
|
The Zclassic Team
|
||||||
|
|
||||||
To create binaries, create the 'packages' directory::
|
|
||||||
|
|
||||||
./contrib/make_packages
|
|
||||||
|
|
||||||
This directory contains the python dependencies used by Electrum.
|
|
||||||
|
|
||||||
Mac OS X / macOS
|
|
||||||
----------------
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
sh ./setup-mac.sh
|
|
||||||
sudo sh ./install-mac.sh
|
|
||||||
|
|
||||||
Windows
|
|
||||||
-------
|
|
||||||
|
|
||||||
See `contrib/build-wine/README` file.
|
|
||||||
|
|
||||||
|
|
||||||
Android
|
|
||||||
-------
|
|
||||||
|
|
||||||
See `gui/kivy/Readme.txt` file.
|
|
||||||
|
|
Loading…
Reference in New Issue