From b125eb8e7a24fa3e4366fbc3ea6adabb83c9afd7 Mon Sep 17 00:00:00 2001 From: David Ansermino Date: Mon, 15 Oct 2018 16:43:29 -0400 Subject: Added requirements and setup instructions --- README.md | 9 +++++++++ requirements.txt | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index e66791666..d9c063da3 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,15 @@ Arrays are allowed, but don't use them for sets of properties - only use them fo Test Set Sanitation ------------------- +### Setup + +(Requires `virtualenv`) +``` +#> virtualenv -p python3 .env3 +#> . .env3/bin/activate +#> python3 -m pip install -r requirements.txt +``` + ### Checkers Several basic checks against the test-set are performed to ensure that they have been filled and are formatted correctly. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..4be6cb695 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +pyaml +pysha3 +jsonschema -- cgit v1.2.3 From 3a52fe7b0a87e4e8f7fa97dc54d7559a89bc1c97 Mon Sep 17 00:00:00 2001 From: David Ansermino Date: Thu, 18 Oct 2018 11:32:11 -0400 Subject: Specified dependency version ranges, added .env3 to gitignore --- .gitignore | 1 + requirements.txt | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 88e589596..502263e07 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ docs/_build/ .vagrant/ *.pem src/GenStateTestAsBcTemp/ +.env/ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 4be6cb695..05c5cca0a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -pyaml -pysha3 -jsonschema +pyaml>=17.0,<18 +pysha3>=1.0,<2.0 +jsonschema>=2.6,<3.0 -- cgit v1.2.3 From 5aa081ef5c2594a7c3cc2cb73916d901c23b4ab4 Mon Sep 17 00:00:00 2001 From: David Ansermino Date: Thu, 18 Oct 2018 11:33:52 -0400 Subject: Fixed naming --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 502263e07..c29aa8489 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ docs/_build/ .vagrant/ *.pem src/GenStateTestAsBcTemp/ -.env/ \ No newline at end of file +.env3/ \ No newline at end of file -- cgit v1.2.3