$ make -n
rm -rf venv/foo
rm -f *.lock *.deps
mkdir -p venv/foo
python -m venv venv/foo
./venv/foo/bin/pip install -r requirements.txt
make all-requirements pyramid-requirements flask-requirements show-deps
venv/foo/bin/pip freeze | sed 's/^ *//g' | sort -u | tee requirements.lock
venv/foo/bin/pipdeptree -p pyramid,mako,sqlalchemy -f | sed 's/^ *//g' | sort -u | tee pyramid-requirements.lock
venv/foo/bin/pipdeptree -p flask,mako,sqlalchemy -f | sed 's/^ *//g' | sort -u | tee flask-requirements.lock
venv/foo/bin/pipdeptree | tee all.deps
make diff
diff -u requirements.lock pyramid-requirements.lock > pyramid.diff || echo ok
diff -u requirements.lock flask-requirements.lock > flask.diff || echo ok
Last active
June 3, 2019 13:25
-
-
Save podhmo/c6ec298da028950347013668ec0e46d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flask==1.0.3 | |
- click [required: >=5.1, installed: 7.0] | |
- itsdangerous [required: >=0.24, installed: 1.1.0] | |
- Jinja2 [required: >=2.10, installed: 2.10.1] | |
- MarkupSafe [required: >=0.23, installed: 1.1.1] | |
- Werkzeug [required: >=0.14, installed: 0.15.4] | |
Mako==1.0.11 | |
- MarkupSafe [required: >=0.9.2, installed: 1.1.1] | |
peewee==3.9.5 | |
pipdeptree==0.13.2 | |
- pip [required: >=6.0.0, installed: 19.0.3] | |
pyramid==1.10.4 | |
- hupper [required: >=1.5, installed: 1.6.1] | |
- plaster [required: Any, installed: 1.0] | |
- setuptools [required: Any, installed: 40.8.0] | |
- plaster-pastedeploy [required: Any, installed: 0.7] | |
- PasteDeploy [required: >=2.0, installed: 2.0.1] | |
- plaster [required: >=0.5, installed: 1.0] | |
- setuptools [required: Any, installed: 40.8.0] | |
- setuptools [required: Any, installed: 40.8.0] | |
- translationstring [required: >=0.4, installed: 1.3] | |
- venusian [required: >=1.0, installed: 1.2.0] | |
- webob [required: >=1.8.3, installed: 1.8.5] | |
- zope.deprecation [required: >=3.5.0, installed: 4.4.0] | |
- setuptools [required: Any, installed: 40.8.0] | |
- zope.interface [required: >=3.8.0, installed: 4.6.0] | |
- setuptools [required: Any, installed: 40.8.0] | |
SQLAlchemy==1.3.4 | |
WTForms==2.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Click==7.0 | |
Flask==1.0.3 | |
itsdangerous==1.1.0 | |
Jinja2==2.10.1 | |
Mako==1.0.11 | |
MarkupSafe==1.1.1 | |
SQLAlchemy==1.3.4 | |
Werkzeug==0.15.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- requirements.lock 2019-06-03 22:25:02.510786832 +0900 | |
+++ flask-requirements.lock 2019-06-03 22:25:03.207455623 +0900 | |
@@ -1,21 +1,8 @@ | |
Click==7.0 | |
Flask==1.0.3 | |
-hupper==1.6.1 | |
itsdangerous==1.1.0 | |
Jinja2==2.10.1 | |
Mako==1.0.11 | |
MarkupSafe==1.1.1 | |
-PasteDeploy==2.0.1 | |
-peewee==3.9.5 | |
-pipdeptree==0.13.2 | |
-plaster==1.0 | |
-plaster-pastedeploy==0.7 | |
-pyramid==1.10.4 | |
SQLAlchemy==1.3.4 | |
-translationstring==1.3 | |
-venusian==1.2.0 | |
-WebOb==1.8.5 | |
Werkzeug==0.15.4 | |
-WTForms==2.2.1 | |
-zope.deprecation==4.4.0 | |
-zope.interface==4.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VENV ?= venv/foo | |
PIP := ./${VENV}/bin/pip | |
default: clean | |
mkdir -p ${VENV} | |
python -m venv ${VENV} | |
${PIP} install -r requirements.txt | |
$(MAKE) all-requirements pyramid-requirements flask-requirements show-deps | |
$(MAKE) diff | |
clean: | |
rm -rf ${VENV} | |
rm -f *.lock *.deps | |
diff: | |
diff -u requirements.lock pyramid-requirements.lock > pyramid.diff || echo ok | |
diff -u requirements.lock flask-requirements.lock > flask.diff || echo ok | |
all-requirements: | |
${VENV}/bin/pip freeze | sed 's/^ *//g' | sort -u | tee requirements.lock | |
pyramid-requirements: | |
${VENV}/bin/pipdeptree -p pyramid,mako,sqlalchemy -f | sed 's/^ *//g' | sort -u | tee pyramid-requirements.lock | |
flask-requirements: | |
${VENV}/bin/pipdeptree -p flask,mako,sqlalchemy -f | sed 's/^ *//g' | sort -u | tee flask-requirements.lock | |
show-deps: | |
${VENV}/bin/pipdeptree | tee all.deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hupper==1.6.1 | |
Mako==1.0.11 | |
MarkupSafe==1.1.1 | |
PasteDeploy==2.0.1 | |
plaster==1.0 | |
plaster-pastedeploy==0.7 | |
pyramid==1.10.4 | |
setuptools==40.8.0 | |
SQLAlchemy==1.3.4 | |
translationstring==1.3 | |
venusian==1.2.0 | |
WebOb==1.8.5 | |
zope.deprecation==4.4.0 | |
zope.interface==4.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- requirements.lock 2019-06-03 22:25:02.510786832 +0900 | |
+++ pyramid-requirements.lock 2019-06-03 22:25:02.860787900 +0900 | |
@@ -1,21 +1,14 @@ | |
-Click==7.0 | |
-Flask==1.0.3 | |
hupper==1.6.1 | |
-itsdangerous==1.1.0 | |
-Jinja2==2.10.1 | |
Mako==1.0.11 | |
MarkupSafe==1.1.1 | |
PasteDeploy==2.0.1 | |
-peewee==3.9.5 | |
-pipdeptree==0.13.2 | |
plaster==1.0 | |
plaster-pastedeploy==0.7 | |
pyramid==1.10.4 | |
+setuptools==40.8.0 | |
SQLAlchemy==1.3.4 | |
translationstring==1.3 | |
venusian==1.2.0 | |
WebOb==1.8.5 | |
-Werkzeug==0.15.4 | |
-WTForms==2.2.1 | |
zope.deprecation==4.4.0 | |
zope.interface==4.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Click==7.0 | |
Flask==1.0.3 | |
hupper==1.6.1 | |
itsdangerous==1.1.0 | |
Jinja2==2.10.1 | |
Mako==1.0.11 | |
MarkupSafe==1.1.1 | |
PasteDeploy==2.0.1 | |
peewee==3.9.5 | |
pipdeptree==0.13.2 | |
plaster==1.0 | |
plaster-pastedeploy==0.7 | |
pyramid==1.10.4 | |
SQLAlchemy==1.3.4 | |
translationstring==1.3 | |
venusian==1.2.0 | |
WebOb==1.8.5 | |
Werkzeug==0.15.4 | |
WTForms==2.2.1 | |
zope.deprecation==4.4.0 | |
zope.interface==4.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flask | |
peewee | |
wtforms | |
pyramid | |
mako | |
sqlalchemy | |
pipdeptree | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment