-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add management Makefile and requirements[_dev].in
- Loading branch information
1 parent
4c4c2d6
commit 39add69
Showing
5 changed files
with
756 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.PHONY: install | ||
install: | ||
pip install wheel | ||
pip install -r requirements_dev.txt | ||
|
||
.PHONY: sync | ||
sync: | ||
pip-sync requirements_dev.txt | ||
|
||
.PHONY: requirements | ||
requirements: requirements.in requirements_dev.in | ||
pip-compile -v --generate-hashes --output-file requirements.txt requirements.in | ||
pip-compile -v --generate-hashes --output-file requirements_dev.txt requirements_dev.in | ||
|
||
.PHONY: upgrade | ||
upgrade: | ||
pur --patch=Django -r requirements_dev.in | ||
pip-compile -v --generate-hashes --upgrade --output-file requirements.txt requirements.in | ||
pip-compile -v --generate-hashes --upgrade --output-file requirements_dev.txt requirements_dev.in | ||
|
||
.PHONY: test | ||
test: | ||
pytest --reuse-db --nomigrations -vs . | ||
|
||
.PHONY: test | ||
retest: | ||
pytest --reuse-db --nomigrations -vvs --lf . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
asgiref==3.7.2 | ||
cffi==1.16.0 | ||
Django==4.2.10 | ||
django-cors-headers==4.3.1 | ||
django-healthchecks==1.5.0 | ||
psycopg2-binary==2.9.9 | ||
pycparser==2.21 | ||
PyJWT[crypto]>=2.8.* | ||
six==1.16.0 | ||
sqlparse==0.4.4 | ||
uwsgi==2.0.24 |
Oops, something went wrong.