From 26fefb1a02f13bc8f56ea2b9e230e5b25f53e9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20DA=20ROCHA?= <sebastien@da-rocha.net> Date: Fri, 22 Jun 2018 18:09:12 +0200 Subject: [PATCH] [mod] #100: document silkaj install from pypi/pip. --- doc/install_pip.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 doc/install_pip.md diff --git a/doc/install_pip.md b/doc/install_pip.md new file mode 100644 index 00000000..2b2dbdc3 --- /dev/null +++ b/doc/install_pip.md @@ -0,0 +1,40 @@ +# Install Silkaj with Pip + +## Install dependencies + +```bash +sudo apt install python3-pip libssl-dev +``` + +On Ubuntu 14.04 and Debian 8, you need this package too: +```bash +sudo apt install libffi-dev +``` + +## Install from Pypi + +```bash +pip3 install silkaj +``` + +## Install from sources + +### Retrieve silkaj sources +```bash +sudo apt install git +git clone https://git.duniter.org/clients/python/silkaj.git +cd silkaj +``` + +### Install with dependencies + +Just install: +```bash +pip3 install . +``` + +Or install it as "editable", for development: +```bash +pip3 install -e . +``` + -- GitLab