Add a pip requirements file for the scripts
This commit is contained in:
parent
986c9d99a0
commit
834a3d78a8
2 changed files with 9 additions and 6 deletions
|
@ -4,12 +4,7 @@ set -ex
|
||||||
|
|
||||||
virtualenv env
|
virtualenv env
|
||||||
. env/bin/activate
|
. env/bin/activate
|
||||||
pip install \
|
pip install -r scripts/requirements.txt
|
||||||
docutils \
|
|
||||||
pygments \
|
|
||||||
Jinja2 \
|
|
||||||
jsonschema \
|
|
||||||
PyYAML
|
|
||||||
|
|
||||||
# do sanity checks on the examples and swagger
|
# do sanity checks on the examples and swagger
|
||||||
(cd event-schemas/ && ./check_examples.py)
|
(cd event-schemas/ && ./check_examples.py)
|
||||||
|
|
8
scripts/requirements.txt
Normal file
8
scripts/requirements.txt
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue