From 76e7e0adbfb375bfee1dc350273928acea6fef5e Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Sat, 4 Feb 2023 13:13:29 -0500 Subject: [PATCH] Add optional dependencies to pyproject.toml --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fa8f232..2092d51 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,10 +39,11 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", ] -dynamic = ["dependencies"] +dynamic = ["dependencies", "optional-dependencies"] [tool.setuptools] py-modules = ["adafruit_bme680"] [tool.setuptools.dynamic] dependencies = {file = ["requirements.txt"]} +optional-dependencies = {optional = {file = ["optional_requirements.txt"]}}