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

View File

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