From 0656f83d6fb4aa24134a0c7f4ab956a5240441fe Mon Sep 17 00:00:00 2001 From: Shreyansh Kulshrestha Date: Fri, 6 Oct 2023 23:25:26 +0530 Subject: [PATCH 1/5] Added the pip install in readme. --- bindings/python/README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/bindings/python/README.md b/bindings/python/README.md index ab16526d66..98a5aad4a8 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -24,6 +24,34 @@ Python binding to the [iota-sdk library](/README.md). ## Getting Started +### Install IOTA SDK via pip + +1. (optional) Create a virtual environment and use it. On Linux and macOS, you can run the following commands: + + ```bash + python3 -m venv env + source env/bin/activate + ``` + + If you are using Windows, you should run the following instead: + + ```bash + python3 -m venv env + .\env\Scripts\activate` + ``` + +2. Install the IOTA-SDK using pip: + + ```bash + pip install iota-sdk + ``` + +3. (optional) If you want to deactivate the virtual environment, run the following command: + + ```bash + deactivate + ``` + ### Install the IOTA SDK 1. Move to the Python bindings directory: @@ -46,7 +74,7 @@ Python binding to the [iota-sdk library](/README.md). .\env\Scripts\activate` ``` -3. Install the required dependencies and build the wheel by running the following commands: +3. Install the IOTA: ```bash pip install -r requirements-dev.txt From 9926a258a1289d4432ad4c36ed39b9ed9ea78eef Mon Sep 17 00:00:00 2001 From: Shreyansh Kulshrestha Date: Fri, 6 Oct 2023 23:28:25 +0530 Subject: [PATCH 2/5] added the link --- bindings/python/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/README.md b/bindings/python/README.md index 98a5aad4a8..5e5d354e24 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -8,6 +8,7 @@ Python binding to the [iota-sdk library](/README.md). - [Table of contents](#table-of-contents) - [Requirements](#requirements) - [Getting Started](#getting-started) + - [Install the IOTA SDK via pip](#install-the-iota-sdk-via-pip) - [Install the IOTA SDK](#install-the-iota-sdk) - [Client](#client-usage) - [Wallet](#wallet-usage) From 4b4691da1ae6e7572fc51fc57a0e6be786ec1400 Mon Sep 17 00:00:00 2001 From: Shreyansh Kulshrestha Date: Fri, 6 Oct 2023 23:31:51 +0530 Subject: [PATCH 3/5] correct --- bindings/python/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/README.md b/bindings/python/README.md index 5e5d354e24..f9cfc42ba4 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -8,7 +8,7 @@ Python binding to the [iota-sdk library](/README.md). - [Table of contents](#table-of-contents) - [Requirements](#requirements) - [Getting Started](#getting-started) - - [Install the IOTA SDK via pip](#install-the-iota-sdk-via-pip) + - [Install the IOTA SDK via pip](#install-iota-sdk-via-pip) - [Install the IOTA SDK](#install-the-iota-sdk) - [Client](#client-usage) - [Wallet](#wallet-usage) From a53391529d757a0df69a570c2ae8a98ed188b275 Mon Sep 17 00:00:00 2001 From: Shreyansh Kulshrestha Date: Sat, 7 Oct 2023 01:22:50 +0530 Subject: [PATCH 4/5] changed 3rd point --- bindings/python/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/README.md b/bindings/python/README.md index f9cfc42ba4..5880591e54 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -75,7 +75,7 @@ Python binding to the [iota-sdk library](/README.md). .\env\Scripts\activate` ``` -3. Install the IOTA: +3. Install the required dependencies and build the wheel by running the following commands: ```bash pip install -r requirements-dev.txt From 193ca43957ec153120519f2a108e4d6deb7ce541 Mon Sep 17 00:00:00 2001 From: Shreyansh Kulshrestha Date: Sat, 7 Oct 2023 01:47:07 +0530 Subject: [PATCH 5/5] remove --- bindings/python/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/README.md b/bindings/python/README.md index 5880591e54..496c8a57f3 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -38,7 +38,7 @@ Python binding to the [iota-sdk library](/README.md). ```bash python3 -m venv env - .\env\Scripts\activate` + .\env\Scripts\activate ``` 2. Install the IOTA-SDK using pip: @@ -72,7 +72,7 @@ Python binding to the [iota-sdk library](/README.md). ```bash python3 -m venv env - .\env\Scripts\activate` + .\env\Scripts\activate ``` 3. Install the required dependencies and build the wheel by running the following commands: