From 9a295d2c587c9d98b213f35a2ebab4280b1d2e3a Mon Sep 17 00:00:00 2001 From: Mike Boyle Date: Mon, 18 Dec 2023 11:24:32 -0500 Subject: [PATCH] Update extras installation method [skip ci] --- .readthedocs.yml | 4 +--- pyproject.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index f6f6f1e..e40a585 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -13,6 +13,4 @@ python: - method: pip path: . extra_requirements: - - mkdocs - - mktheapidocs - - pymdown-extensions + - docs diff --git a/pyproject.toml b/pyproject.toml index 7f9cba9..010df65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,10 +23,18 @@ dependencies = [ "numba >=0.55; implementation_name == 'cpython'" ] +[project.optional-dependencies] +docs = [ + "mkdocs", + "mktheapidocs", + "pymdown-extensions" +] + [project.urls] Homepage = "https://github.com/moble/quaternionic" Documentation = "https://quaternionic.readthedocs.io/" + [build-system] requires = ["hatchling"] build-backend = "hatchling.build"