From fe5af4c44d1ebda954d25e5aba2461d46a8368b5 Mon Sep 17 00:00:00 2001 From: algochoi <86622919+algochoi@users.noreply.github.com> Date: Wed, 8 Dec 2021 11:49:14 -0500 Subject: [PATCH] Add requirement to fetch behave source code and update readme (#262) * Add requirement to fetch behave source code and update readme * Simplify tests section * Change dockerfile to fetch requirements.txt --- Dockerfile | 2 +- README.md | 9 ++++++++- requirements.txt | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f445d57a..60c0721b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR $HOME/py-algorand-sdk # SDK dependencies, and source version of behave with tag expression support RUN pip install . -q \ - && pip install git+https://github.com/behave/behave -q + && pip install -r requirements.txt -q # Run integration tests CMD ["/bin/bash", "-c", "make unit && make integration"] diff --git a/README.md b/README.md index cca9687e..44f67cd1 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,14 @@ Alternatively, choose a [distribution file](https://pypi.org/project/py-algorand ## SDK Development -Run tests with `make docker-test` +Install dependencies +* `pip install -r requirements.txt` + +Run tests +* `make docker-test` + +Format code: +* `black .` ## Quick start diff --git a/requirements.txt b/requirements.txt index ff455fe4..4b7551fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ . -black==21.9b0 \ No newline at end of file +black==21.9b0 +git+https://github.com/behave/behave