Add praw and gunicorn as optional dependencies instead of dev

This commit is contained in:
Tim Van Baak 2020-12-29 16:24:04 -08:00
parent 9001bd8f92
commit 4315cfa7be
2 changed files with 15 additions and 15 deletions

26
poetry.lock generated
View File

@ -60,8 +60,8 @@ dotenv = ["python-dotenv"]
name = "gunicorn" name = "gunicorn"
version = "20.0.4" version = "20.0.4"
description = "WSGI HTTP Server for UNIX" description = "WSGI HTTP Server for UNIX"
category = "dev" category = "main"
optional = false optional = true
python-versions = ">=3.4" python-versions = ">=3.4"
[package.extras] [package.extras]
@ -112,8 +112,8 @@ python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
name = "praw" name = "praw"
version = "7.1.0" version = "7.1.0"
description = "PRAW, an acronym for `Python Reddit API Wrapper`, is a python package that allows for simple access to reddit's API." description = "PRAW, an acronym for `Python Reddit API Wrapper`, is a python package that allows for simple access to reddit's API."
category = "dev" category = "main"
optional = false optional = true
python-versions = ">3.5.3" python-versions = ">3.5.3"
[package.dependencies] [package.dependencies]
@ -131,8 +131,8 @@ test = ["betamax (>=0.8,<0.9)", "betamax-matchers (>=0.3.0,<0.5)", "pytest (>=2.
name = "prawcore" name = "prawcore"
version = "1.5.0" version = "1.5.0"
description = "Low-level communication layer for PRAW 4+." description = "Low-level communication layer for PRAW 4+."
category = "dev" category = "main"
optional = false optional = true
python-versions = ">=3.5" python-versions = ">=3.5"
[package.dependencies] [package.dependencies]
@ -166,8 +166,8 @@ socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"]
name = "six" name = "six"
version = "1.15.0" version = "1.15.0"
description = "Python 2 and 3 compatibility utilities" description = "Python 2 and 3 compatibility utilities"
category = "dev" category = "main"
optional = false optional = true
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
[[package]] [[package]]
@ -182,8 +182,8 @@ python-versions = ">=3.5"
name = "update-checker" name = "update-checker"
version = "0.18.0" version = "0.18.0"
description = "A python module that will check for package updates." description = "A python module that will check for package updates."
category = "dev" category = "main"
optional = false optional = true
python-versions = "*" python-versions = "*"
[package.dependencies] [package.dependencies]
@ -211,8 +211,8 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
name = "websocket-client" name = "websocket-client"
version = "0.57.0" version = "0.57.0"
description = "WebSocket client for Python. hybi13 is supported." description = "WebSocket client for Python. hybi13 is supported."
category = "dev" category = "main"
optional = false optional = true
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
[package.dependencies] [package.dependencies]
@ -233,7 +233,7 @@ watchdog = ["watchdog"]
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.6" python-versions = "^3.6"
content-hash = "3bb58f3ab431a791883a1666318906e045684f06e4b83f895863de5b422b90f2" content-hash = "acda2aa8fceefe7916ab046778f0621e42c1a8690b2f1b716307ecb9fc433421"
[metadata.files] [metadata.files]
beautifulsoup4 = [ beautifulsoup4 = [

View File

@ -11,10 +11,10 @@ python = "^3.6"
Flask = "^1.1.2" Flask = "^1.1.2"
requests = "^2.25.1" requests = "^2.25.1"
beautifulsoup4 = "^4.9.3" beautifulsoup4 = "^4.9.3"
praw = {version = "^7.1.0", optional = true}
gunicorn = {version = "^20.0.4", optional = true}
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
gunicorn = "^20.0.4"
praw = "^7.1.0"
[tool.poetry.scripts] [tool.poetry.scripts]
inquisitor = "inquisitor.cli:main" inquisitor = "inquisitor.cli:main"