Make extra dependencies installable

This commit is contained in:
Tim Van Baak 2020-12-29 20:05:06 -08:00
parent 4315cfa7be
commit a1a15153c0
2 changed files with 6 additions and 2 deletions

5
poetry.lock generated
View File

@ -230,10 +230,13 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
dev = ["pytest", "pytest-timeout", "coverage", "tox", "sphinx", "pallets-sphinx-themes", "sphinx-issues"] dev = ["pytest", "pytest-timeout", "coverage", "tox", "sphinx", "pallets-sphinx-themes", "sphinx-issues"]
watchdog = ["watchdog"] watchdog = ["watchdog"]
[extras]
dev = ["praw"]
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.6" python-versions = "^3.6"
content-hash = "acda2aa8fceefe7916ab046778f0621e42c1a8690b2f1b716307ecb9fc433421" content-hash = "98a9dfc5fddbe26f204c11b09b8b5a792d47b413cfd94eb5eb23b2f6a4d55062"
[metadata.files] [metadata.files]
beautifulsoup4 = [ beautifulsoup4 = [

View File

@ -14,7 +14,8 @@ beautifulsoup4 = "^4.9.3"
praw = {version = "^7.1.0", optional = true} praw = {version = "^7.1.0", optional = true}
gunicorn = {version = "^20.0.4", optional = true} gunicorn = {version = "^20.0.4", optional = true}
[tool.poetry.dev-dependencies] [tool.poetry.extras]
dev = ["praw"]
[tool.poetry.scripts] [tool.poetry.scripts]
inquisitor = "inquisitor.cli:main" inquisitor = "inquisitor.cli:main"