Change gunicorn to an optional dependency
This commit is contained in:
parent
875d0364c7
commit
c89afe5b94
|
@ -50,10 +50,10 @@ WTForms = "*"
|
||||||
itsdangerous = "*"
|
itsdangerous = "*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
category = "dev"
|
category = "main"
|
||||||
description = "WSGI HTTP Server for UNIX"
|
description = "WSGI HTTP Server for UNIX"
|
||||||
name = "gunicorn"
|
name = "gunicorn"
|
||||||
optional = false
|
optional = true
|
||||||
python-versions = ">=3.4"
|
python-versions = ">=3.4"
|
||||||
version = "20.0.4"
|
version = "20.0.4"
|
||||||
|
|
||||||
|
@ -164,8 +164,11 @@ email = ["email-validator"]
|
||||||
ipaddress = ["ipaddress"]
|
ipaddress = ["ipaddress"]
|
||||||
locale = ["Babel (>=1.3)"]
|
locale = ["Babel (>=1.3)"]
|
||||||
|
|
||||||
|
[extras]
|
||||||
|
dev = ["gunicorn"]
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
content-hash = "5a3b077899ce6bd8f1a70c4fc48784486bb1373081d94c5b772191e7edb2788c"
|
content-hash = "e4930aaf62df0a261424129ab0d89af96ea4e19f80b76c7c6fbcb25c491a213d"
|
||||||
lock-version = "1.0"
|
lock-version = "1.0"
|
||||||
python-versions = "^3.8"
|
python-versions = "^3.8"
|
||||||
|
|
||||||
|
|
|
@ -9,10 +9,13 @@ python = "^3.8"
|
||||||
flask = "^1.1.2"
|
flask = "^1.1.2"
|
||||||
flask-login = "^0.5.0"
|
flask-login = "^0.5.0"
|
||||||
flask_wtf = "^0.14.3"
|
flask_wtf = "^0.14.3"
|
||||||
|
gunicorn = {version = "^20.0.4", optional = true}
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
mypy = "^0.800"
|
mypy = "^0.800"
|
||||||
gunicorn = "^20.0.4"
|
|
||||||
|
[tool.poetry.extras]
|
||||||
|
dev = ["gunicorn"]
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
redstring-check = "redstring.parser:main"
|
redstring-check = "redstring.parser:main"
|
||||||
|
|
Loading…
Reference in New Issue