From a1a15153c078d4b030712fe40e5365d835b4a0dd Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 29 Dec 2020 20:05:06 -0800 Subject: [PATCH] Make extra dependencies installable --- poetry.lock | 5 ++++- pyproject.toml | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 5bb595d..42a17f6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -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"] watchdog = ["watchdog"] +[extras] +dev = ["praw"] + [metadata] lock-version = "1.1" python-versions = "^3.6" -content-hash = "acda2aa8fceefe7916ab046778f0621e42c1a8690b2f1b716307ecb9fc433421" +content-hash = "98a9dfc5fddbe26f204c11b09b8b5a792d47b413cfd94eb5eb23b2f6a4d55062" [metadata.files] beautifulsoup4 = [ diff --git a/pyproject.toml b/pyproject.toml index 231f73a..bc24683 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,8 @@ beautifulsoup4 = "^4.9.3" praw = {version = "^7.1.0", optional = true} gunicorn = {version = "^20.0.4", optional = true} -[tool.poetry.dev-dependencies] +[tool.poetry.extras] +dev = ["praw"] [tool.poetry.scripts] inquisitor = "inquisitor.cli:main"