diff --git a/doc/install_pip.md b/doc/install_pip.md new file mode 100644 index 0000000000000000000000000000000000000000..2b2dbdc31d1bc9c62b44edf53bf8f7ff8ed98789 --- /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 . +``` +