Skip to content

Commit

Permalink
Updating requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
castrapel committed Mar 29, 2018
1 parent a38f286 commit 3e5cbb4
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
19 changes: 18 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NPM_ROOT = ./node_modules
STATIC_DIR = src/lemur/static/app

SHELL=/bin/bash
USER := $(shell whoami)

develop: update-submodules setup-git
Expand Down Expand Up @@ -104,4 +104,21 @@ coverage: develop
publish:
python setup.py sdist bdist_wheel upload

up-reqs:
ifndef VIRTUAL_ENV
$(error Please activate virtualenv first)
endif
@echo "--> Updating Python requirements"
pip install --upgrade pip-tools
pip-compile --output-file requirements-docs.txt requirements-docs.in -U
pip-compile --output-file requirements-dev.txt requirements-dev.in -U
pip-compile --output-file requirements-tests.txt requirements-tests.in -U
pip-compile --output-file requirements.txt requirements.in -U
@echo "--> Done updating Python requirements"
@echo "--> Installing new dependencies"
pip install -e .
@echo "--> Done installing new dependencies"
@echo ""


.PHONY: develop dev-postgres dev-docs setup-git build clean update-submodules test testloop test-cli test-js test-python lint lint-python lint-js coverage publish release
2 changes: 1 addition & 1 deletion requirements-tests.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ coverage
factory-boy
Faker
freezegun
moto>1,<2
moto
nose
pyflakes
pytest
Expand Down
4 changes: 2 additions & 2 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
asn1crypto==0.24.0 # via cryptography
attrs==17.4.0 # via pytest
aws-xray-sdk==0.95 # via moto
boto3==1.6.18 # via moto
boto3==1.6.19 # via moto
boto==2.48.0 # via moto
botocore==1.9.18 # via boto3, moto, s3transfer
botocore==1.9.19 # via boto3, moto, s3transfer
certifi==2018.1.18 # via requests
cffi==1.11.5 # via cryptography
chardet==3.0.4 # via requests
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ arrow==0.12.1
asn1crypto==0.24.0 # via cryptography
bcrypt==3.1.4 # via flask-bcrypt, paramiko
blinker==1.4 # via flask-mail, flask-principal, raven
boto3==1.6.18
botocore==1.9.18 # via boto3, s3transfer
boto3==1.6.19
botocore==1.9.19 # via boto3, s3transfer
cffi==1.11.5 # via bcrypt, cryptography, pynacl
click==6.7 # via flask
cryptography==2.2.2
Expand Down

0 comments on commit 3e5cbb4

Please sign in to comment.