Add a pip requirements file for the scripts

This commit is contained in:
Richard van der Hoff 2017-10-25 09:54:21 +01:00
parent 986c9d99a0
commit 834a3d78a8
2 changed files with 9 additions and 6 deletions

View file

@ -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)

8
scripts/requirements.txt Normal file
View file

@ -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