Files
pallectrum/README.rst

115 lines
2.6 KiB
ReStructuredText
Raw Normal View History

2016-03-06 07:44:10 +01:00
Electrum - Lightweight Bitcoin client
2015-06-27 10:58:45 +03:00
=====================================
::
2016-02-23 11:36:42 +01:00
Licence: MIT Licence
2015-06-27 10:58:45 +03:00
Author: Thomas Voegtlin
2018-09-11 21:04:36 +02:00
Language: Python (>= 3.6)
2015-06-27 10:58:45 +03:00
Homepage: https://electrum.org/
.. image:: https://travis-ci.org/spesmilo/electrum.svg?branch=master
:target: https://travis-ci.org/spesmilo/electrum
:alt: Build Status
2017-11-08 22:31:13 +01:00
.. image:: https://coveralls.io/repos/github/spesmilo/electrum/badge.svg?branch=master
:target: https://coveralls.io/github/spesmilo/electrum?branch=master
2017-11-08 17:58:17 +01:00
:alt: Test coverage statistics
.. image:: https://d322cqt584bo4o.cloudfront.net/electrum/localized.svg
2018-03-13 17:36:21 +01:00
:target: https://crowdin.com/project/electrum
:alt: Help translate Electrum online
2015-06-27 10:58:45 +03:00
2016-03-06 07:44:10 +01:00
Getting started
===============
Electrum is a pure python application. If you want to use the
Qt interface, install the Qt dependencies::
2016-03-06 07:44:10 +01:00
2017-09-23 05:54:38 +02:00
sudo apt-get install python3-pyqt5
2016-03-06 07:44:10 +01:00
If you downloaded the official package (tar.gz), you can run
2018-12-01 21:28:46 -05:00
Electrum from its root directory without installing it on your
2016-03-18 09:20:00 +01:00
system; all the python dependencies are included in the 'packages'
directory. To run Electrum from its root directory, just do::
2015-06-27 10:58:45 +03:00
./run_electrum
2015-06-27 10:58:45 +03:00
2016-10-15 12:12:10 +02:00
You can also install Electrum on your system, by running this command::
2017-09-19 15:24:17 +02:00
sudo apt-get install python3-setuptools
python3 -m pip install .[fast]
2016-10-15 12:12:10 +02:00
This will download and install the Python dependencies used by
2018-12-01 21:28:46 -05:00
Electrum instead of using the 'packages' directory.
The 'fast' extra contains some optional dependencies that we think
2018-03-28 11:54:24 +02:00
are often useful but they are not strictly needed.
2016-10-15 12:12:10 +02:00
If you cloned the git repository, you need to compile extra files
2016-03-06 07:44:10 +01:00
before you can run Electrum. Read the next section, "Development
Version".
Development version
===================
2018-04-15 20:45:30 +03:00
Check out the code from GitHub::
2016-03-06 07:44:10 +01:00
git clone git://github.com/spesmilo/electrum.git
cd electrum
2019-09-04 14:03:39 +02:00
git submodule update --init
2016-03-06 07:44:10 +01:00
2016-03-17 12:52:40 +01:00
Run install (this should install dependencies)::
python3 -m pip install .[fast]
2016-03-17 12:52:40 +01:00
2016-03-06 07:44:10 +01:00
Compile the protobuf description file::
sudo apt-get install protobuf-compiler
protoc --proto_path=electrum --python_out=electrum electrum/paymentrequest.proto
2016-03-06 07:44:10 +01:00
2016-10-15 12:12:10 +02:00
Create translations (optional)::
2016-03-06 07:44:10 +01:00
2018-01-07 16:48:02 -05:00
sudo apt-get install python-requests gettext
./contrib/pull_locale
2016-03-06 07:44:10 +01:00
2015-06-27 10:58:45 +03:00
2016-03-06 07:44:10 +01:00
Creating Binaries
=================
Linux (tarball)
---------------
2015-06-27 10:58:45 +03:00
See :code:`contrib/build-linux/README.md`.
2015-06-27 10:58:45 +03:00
2016-03-06 07:44:10 +01:00
Linux (AppImage)
----------------
See :code:`contrib/build-linux/appimage/README.md`.
Mac OS X / macOS
----------------
See :code:`contrib/osx/README.md`.
2015-06-27 10:58:45 +03:00
2016-03-06 07:44:10 +01:00
Windows
-------
See :code:`contrib/build-wine/README.md`.
2016-03-06 07:44:10 +01:00
Android
-------
See :code:`electrum/gui/kivy/Readme.md`.