Skip to content

Commit

Permalink
improve requirements of example
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Lehmann committed Jun 22, 2017
1 parent cf3331b commit 6d1391f
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ ENV/
doc/_build/*
*.crt
.mypy_cache/*
venv_*/
23 changes: 23 additions & 0 deletions example/requirements/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.PHONY: all check clean


objects = $(wildcard *.in)
outputs = $(objects:.in=.txt)


all: $(outputs)


%.txt: %.in
pip-compile -v -U --output-file $@ $<


develop.txt: base.txt


check:
@which pip-compile > /dev/null


clean:
-rm *.txt
File renamed without changes.
15 changes: 8 additions & 7 deletions example/requirements.txt → example/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file requirements.txt requirements.in
# pip-compile --output-file base.txt base.in
#
click==6.7 # via flask
dominate==2.3.1 # via flask-bootstrap
enum-compat==0.0.2 # via eventlet
enum34==1.1.6 # via enum-compat
eventlet==0.21.0
flask-bootstrap==3.3.7.1
flask-mqtt==0.0.4
flask-mqtt==0.0.5
flask-socketio==2.8.6
flask==0.12.1
flask==0.12.2
greenlet==0.4.12 # via eventlet
itsdangerous==0.24 # via flask
jinja2==2.9.6 # via flask
markupsafe==1.0 # via jinja2
paho-mqtt==1.2.3 # via flask-mqtt
python-engineio==1.3.2 # via flask-socketio, python-socketio
python-socketio==1.7.4 # via flask-socketio
paho-mqtt==1.3.0 # via flask-mqtt
python-engineio==1.5.4 # via flask-socketio, python-socketio
python-socketio==1.7.5 # via flask-socketio
six==1.10.0 # via python-engineio, python-socketio
typing==3.6.1 # via flask-mqtt
visitor==0.1.3 # via flask-bootstrap
werkzeug==0.12.1 # via flask
werkzeug==0.12.2 # via flask
2 changes: 2 additions & 0 deletions example/requirements/develop.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-r base.txt
pip-tools
28 changes: 28 additions & 0 deletions example/requirements/develop.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file develop.txt develop.in
#
click==6.7
dominate==2.3.1
enum-compat==0.0.2
enum34==1.1.6
eventlet==0.21.0
first==2.0.1 # via pip-tools
flask-bootstrap==3.3.7.1
flask-mqtt==0.0.5
flask-socketio==2.8.6
flask==0.12.2
greenlet==0.4.12
itsdangerous==0.24
jinja2==2.9.6
markupsafe==1.0
paho-mqtt==1.3.0
pip-tools==1.9.0
python-engineio==1.5.4
python-socketio==1.7.5
six==1.10.0
typing==3.6.1
visitor==0.1.3
werkzeug==0.12.2

0 comments on commit 6d1391f

Please sign in to comment.