From 834a3d78a835cb02eebf4d5b686febd14d184d92 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 25 Oct 2017 09:54:21 +0100 Subject: [PATCH] Add a pip requirements file for the scripts --- jenkins.sh | 7 +------ scripts/requirements.txt | 8 ++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 scripts/requirements.txt diff --git a/jenkins.sh b/jenkins.sh index 7cc0badd..d8950ade 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -4,12 +4,7 @@ set -ex virtualenv env . env/bin/activate -pip install \ - docutils \ - pygments \ - Jinja2 \ - jsonschema \ - PyYAML +pip install -r scripts/requirements.txt # do sanity checks on the examples and swagger (cd event-schemas/ && ./check_examples.py) diff --git a/scripts/requirements.txt b/scripts/requirements.txt new file mode 100644 index 00000000..9886fce4 --- /dev/null +++ b/scripts/requirements.txt @@ -0,0 +1,8 @@ +# no doubt older versions would be fine for many of these but these were +# current at the time of writing + +docutils >= 0.14 +pygments >= 2.2.0 +Jinja2 >= 2.9.6 +jsonschema >= 2.6.0 +PyYAML >= 3.12