b13fb64
From 7a4731af5837e20667b34dffc89672489ef0e5d9 Mon Sep 17 00:00:00 2001
f074ac9
From: Carl George <carl@george.computer>
f074ac9
Date: Fri, 6 May 2022 15:02:17 -0500
f074ac9
Subject: [PATCH] Add docs and test extras
f074ac9
f074ac9
This makes it easier to install just documentation or test dependencies
f074ac9
without installing all dev dependencies.
b13fb64
b13fb64
(cherry picked from commit 67037a4329fbac0cd143ae9dbaa12bb2a3df73c9)
f074ac9
---
f074ac9
 pyproject.toml | 8 ++++++++
f074ac9
 1 file changed, 8 insertions(+)
f074ac9
f074ac9
diff --git a/pyproject.toml b/pyproject.toml
b13fb64
index fe28bfd..75dda5a 100644
f074ac9
--- a/pyproject.toml
f074ac9
+++ b/pyproject.toml
f074ac9
@@ -11,6 +11,10 @@ documentation = "https://pyiso8601.readthedocs.io/en/latest/"
f074ac9
 
f074ac9
 [tool.poetry.dependencies]
f074ac9
 python = ">=3.6.2,<4.0"
b13fb64
+pytest = { version = "*", optional = true }
b13fb64
+hypothesis = { version = "*", optional = true }
b13fb64
+pytz = { version = "*", optional = true }
b13fb64
+Sphinx = { version = "*", optional = true }
f074ac9
 
f074ac9
 [tool.poetry.dev-dependencies]
b13fb64
 mypy = "*"
b13fb64
@@ -24,6 +28,10 @@ pre-commit = "*"
b13fb64
 nox = "*"
b13fb64
 Sphinx = "*"
f074ac9
 
f074ac9
+[tool.poetry.extras]
f074ac9
+docs = ["Sphinx"]
f074ac9
+test = ["pytest", "hypothesis", "pytz"]
f074ac9
+
f074ac9
 [build-system]
f074ac9
 requires = ["poetry-core>=1.0.0"]
f074ac9
 build-backend = "poetry.core.masonry.api"
f074ac9
-- 
b13fb64
2.37.3
f074ac9