Split **requirements.txt**
Split requirements.txt file into base.txt, local.txt, and production.txt file
This commit is contained in:
parent
94ed5abc75
commit
cb739c7cab
166
requirements.txt
166
requirements.txt
@ -1,82 +1,84 @@
|
|||||||
alabaster==0.7.13
|
-r requirements/local.txt
|
||||||
arrow==1.2.3
|
|
||||||
asgiref==3.6.0
|
# alabaster==0.7.13
|
||||||
attrs==22.2.0
|
# arrow==1.2.3
|
||||||
autobahn==23.1.1
|
# asgiref==3.6.0
|
||||||
Automat==22.10.0
|
# attrs==22.2.0
|
||||||
Babel==2.11.0
|
# autobahn==23.1.1
|
||||||
binaryornot==0.4.4
|
# Automat==22.10.0
|
||||||
black==22.10.0
|
# Babel==2.11.0
|
||||||
certifi==2022.12.7
|
# binaryornot==0.4.4
|
||||||
cffi==1.15.1
|
# black==22.10.0
|
||||||
channels==4.0.0
|
# certifi==2022.12.7
|
||||||
chardet==5.1.0
|
# cffi==1.15.1
|
||||||
charset-normalizer==2.1.1
|
# channels==4.0.0
|
||||||
click==8.1.3
|
# chardet==5.1.0
|
||||||
colorama==0.4.6
|
# charset-normalizer==2.1.1
|
||||||
constantly==15.1.0
|
# click==8.1.3
|
||||||
cookiecutter==2.1.1
|
# colorama==0.4.6
|
||||||
cryptography==39.0.0
|
# constantly==15.1.0
|
||||||
daphne==4.0.0
|
# cookiecutter==2.1.1
|
||||||
Deprecated==1.2.13
|
# cryptography==39.0.0
|
||||||
Django==4.1.6
|
# daphne==4.0.0
|
||||||
django-cleanup==6.0.0
|
# Deprecated==1.2.13
|
||||||
django-crispy-forms==1.14.0
|
# Django==4.1.6
|
||||||
django-environ==0.9.0
|
# django-cleanup==6.0.0
|
||||||
django-model-utils==4.3.1
|
# django-crispy-forms==1.14.0
|
||||||
djangorestframework==3.14.0
|
# django-environ==0.9.0
|
||||||
docutils==0.19
|
# django-model-utils==4.3.1
|
||||||
ghp-import==2.1.0
|
# djangorestframework==3.14.0
|
||||||
gopay==1.3.0
|
# docutils==0.19
|
||||||
hyperlink==21.0.0
|
# ghp-import==2.1.0
|
||||||
idna==3.4
|
# gopay==1.3.0
|
||||||
imagesize==1.4.1
|
# hyperlink==21.0.0
|
||||||
incremental==22.10.0
|
# idna==3.4
|
||||||
Jinja2==3.1.2
|
# imagesize==1.4.1
|
||||||
jinja2-time==0.2.0
|
# incremental==22.10.0
|
||||||
Markdown==3.3.7
|
# Jinja2==3.1.2
|
||||||
MarkupSafe==2.1.1
|
# jinja2-time==0.2.0
|
||||||
mergedeep==1.3.4
|
# Markdown==3.3.7
|
||||||
mkdocs==1.4.2
|
# MarkupSafe==2.1.1
|
||||||
mypy-extensions==0.4.3
|
# mergedeep==1.3.4
|
||||||
packaging==21.3
|
# mkdocs==1.4.2
|
||||||
pathspec==0.10.2
|
# mypy-extensions==0.4.3
|
||||||
Pillow==9.4.0
|
# packaging==21.3
|
||||||
platformdirs==2.5.4
|
# pathspec==0.10.2
|
||||||
psycopg2==2.9.5
|
# Pillow==9.4.0
|
||||||
pyasn1==0.4.8
|
# platformdirs==2.5.4
|
||||||
pyasn1-modules==0.2.8
|
# psycopg2==2.9.5
|
||||||
pycparser==2.21
|
# pyasn1==0.4.8
|
||||||
Pygments==2.14.0
|
# pyasn1-modules==0.2.8
|
||||||
pyOpenSSL==23.0.0
|
# pycparser==2.21
|
||||||
pyparsing==3.0.9
|
# Pygments==2.14.0
|
||||||
python-dateutil==2.8.2
|
# pyOpenSSL==23.0.0
|
||||||
python-slugify==7.0.0
|
# pyparsing==3.0.9
|
||||||
pytz==2022.7.1
|
# python-dateutil==2.8.2
|
||||||
PyYAML==6.0
|
# python-slugify==7.0.0
|
||||||
pyyaml_env_tag==0.1
|
# pytz==2022.7.1
|
||||||
reportlab==3.6.12
|
# PyYAML==6.0
|
||||||
requests==2.28.1
|
# pyyaml_env_tag==0.1
|
||||||
service-identity==21.1.0
|
# reportlab==3.6.12
|
||||||
six==1.16.0
|
# requests==2.28.1
|
||||||
snowballstemmer==2.2.0
|
# service-identity==21.1.0
|
||||||
Sphinx==6.1.3
|
# six==1.16.0
|
||||||
sphinxcontrib-devhelp==1.0.2
|
# snowballstemmer==2.2.0
|
||||||
sphinxcontrib-htmlhelp==2.0.0
|
# Sphinx==6.1.3
|
||||||
sphinxcontrib-jsmath==1.0.1
|
# sphinxcontrib-devhelp==1.0.2
|
||||||
sphinxcontrib-qthelp==1.0.3
|
# sphinxcontrib-htmlhelp==2.0.0
|
||||||
sphinxcontrib-serializinghtml==1.1.5
|
# sphinxcontrib-jsmath==1.0.1
|
||||||
sphinxcontrib.applehelp==1.0.3
|
# sphinxcontrib-qthelp==1.0.3
|
||||||
sqlparse==0.4.3
|
# sphinxcontrib-serializinghtml==1.1.5
|
||||||
stripe==5.0.0
|
# sphinxcontrib.applehelp==1.0.3
|
||||||
text-unidecode==1.3
|
# sqlparse==0.4.3
|
||||||
tomli==2.0.1
|
# stripe==5.0.0
|
||||||
Twisted==22.10.0
|
# text-unidecode==1.3
|
||||||
twisted-iocpsupport==1.0.2
|
# tomli==2.0.1
|
||||||
txaio==23.1.1
|
# Twisted==22.10.0
|
||||||
typing_extensions==4.4.0
|
# twisted-iocpsupport==1.0.2
|
||||||
tzdata==2022.7
|
# txaio==23.1.1
|
||||||
urllib3==1.26.13
|
# typing_extensions==4.4.0
|
||||||
watchdog==2.1.9
|
# tzdata==2022.7
|
||||||
wrapt==1.14.1
|
# urllib3==1.26.13
|
||||||
zope.interface==5.5.2
|
# watchdog==2.1.9
|
||||||
|
# wrapt==1.14.1
|
||||||
|
# zope.interface==5.5.2
|
||||||
|
|||||||
23
requirements/base.txt
Normal file
23
requirements/base.txt
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
pytz==2022.7 # https://github.com/stub42/pytz
|
||||||
|
python-slugify==7.0.0 # https://github.com/un33k/python-slugify
|
||||||
|
Pillow==9.3.0 # https://github.com/python-pillow/Pillow
|
||||||
|
rcssmin==1.1.0 # https://github.com/ndparker/rcssmin
|
||||||
|
argon2-cffi==21.3.0 # https://github.com/hynek/argon2_cffi
|
||||||
|
whitenoise==6.2.0 # https://github.com/evansd/whitenoise
|
||||||
|
redis==4.4.0 # https://github.com/redis/redis-py
|
||||||
|
hiredis==2.1.0 # https://github.com/redis/hiredis-py
|
||||||
|
|
||||||
|
# Django
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
django==4.0.8 # pyup: < 4.1 # https://www.djangoproject.com/
|
||||||
|
django-environ==0.9.0 # https://github.com/joke2k/django-environ
|
||||||
|
django-model-utils==4.3.1 # https://github.com/jazzband/django-model-utils
|
||||||
|
django-crispy-forms==1.14.0 # https://github.com/django-crispy-forms/django-crispy-forms
|
||||||
|
crispy-bootstrap5==0.7 # https://github.com/django-crispy-forms/crispy-bootstrap5
|
||||||
|
django-compressor==4.1 # https://github.com/django-compressor/django-compressor
|
||||||
|
django-redis==5.2.0 # https://github.com/jazzband/django-redis
|
||||||
|
# Django REST Framework
|
||||||
|
djangorestframework==3.14.0 # https://github.com/encode/django-rest-framework
|
||||||
|
django-cors-headers==3.13.0 # https://github.com/adamchainz/django-cors-headers
|
||||||
|
# DRF-spectacular for api documentation
|
||||||
|
drf-spectacular==0.25.1 # https://github.com/tfranzel/drf-spectacular
|
||||||
36
requirements/local.txt
Normal file
36
requirements/local.txt
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
-r base.txt
|
||||||
|
|
||||||
|
Werkzeug[watchdog]==2.2.2 # https://github.com/pallets/werkzeug
|
||||||
|
ipdb==0.13.11 # https://github.com/gotcha/ipdb
|
||||||
|
psycopg2-binary==2.9.5 # https://github.com/psycopg/psycopg2
|
||||||
|
|
||||||
|
# Testing
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
mypy==0.982 # https://github.com/python/mypy
|
||||||
|
django-stubs==1.13.1 # https://github.com/typeddjango/django-stubs
|
||||||
|
pytest==7.2.0 # https://github.com/pytest-dev/pytest
|
||||||
|
pytest-sugar==0.9.6 # https://github.com/Frozenball/pytest-sugar
|
||||||
|
djangorestframework-stubs==1.8.0 # https://github.com/typeddjango/djangorestframework-stubs
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
sphinx==5.3.0 # https://github.com/sphinx-doc/sphinx
|
||||||
|
sphinx-autobuild==2021.3.14 # https://github.com/GaretJax/sphinx-autobuild
|
||||||
|
|
||||||
|
# Code quality
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
flake8==6.0.0 # https://github.com/PyCQA/flake8
|
||||||
|
flake8-isort==5.0.3 # https://github.com/gforcada/flake8-isort
|
||||||
|
coverage==7.0.0 # https://github.com/nedbat/coveragepy
|
||||||
|
black==22.12.0 # https://github.com/psf/black
|
||||||
|
pylint-django==2.5.3 # https://github.com/PyCQA/pylint-django
|
||||||
|
pre-commit==2.20.0 # https://github.com/pre-commit/pre-commit
|
||||||
|
|
||||||
|
# Django
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
factory-boy==3.2.1 # https://github.com/FactoryBoy/factory_boy
|
||||||
|
|
||||||
|
django-debug-toolbar==3.8.1 # https://github.com/jazzband/django-debug-toolbar
|
||||||
|
django-extensions==3.2.1 # https://github.com/django-extensions/django-extensions
|
||||||
|
django-coverage-plugin==3.0.0 # https://github.com/nedbat/django_coverage_plugin
|
||||||
|
pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django
|
||||||
11
requirements/production.txt
Normal file
11
requirements/production.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# PRECAUTION: avoid production dependencies that aren't in development
|
||||||
|
|
||||||
|
-r base.txt
|
||||||
|
|
||||||
|
gunicorn==20.1.0 # https://github.com/benoitc/gunicorn
|
||||||
|
psycopg2==2.9.5 # https://github.com/psycopg/psycopg2
|
||||||
|
|
||||||
|
# Django
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
django-storages[boto3]==1.13.1 # https://github.com/jschneier/django-storages
|
||||||
|
django-anymail[amazon_ses]==9.0 # https://github.com/anymail/django-anymail
|
||||||
Loading…
x
Reference in New Issue
Block a user