From 4315cfa7becead61bb3c75327b12a9bba918ddb9 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 29 Dec 2020 16:24:04 -0800 Subject: [PATCH] Add praw and gunicorn as optional dependencies instead of dev --- poetry.lock | 26 +++++++++++++------------- pyproject.toml | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/poetry.lock b/poetry.lock index 78a2422..5bb595d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -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 = [ diff --git a/pyproject.toml b/pyproject.toml index 1b0c057..231f73a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"