From 640878946205cca17433ce7eeac47dd81338258c Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Tue, 3 Sep 2024 10:58:22 -0400 Subject: [PATCH] Add dependency installation in pyproject.toml for pip install --- news/pyproject.rst | 23 +++++++++++++++++++++++ pyproject.toml | 5 ++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 news/pyproject.rst diff --git a/news/pyproject.rst b/news/pyproject.rst new file mode 100644 index 0000000..f1a2876 --- /dev/null +++ b/news/pyproject.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* dependency installation in pyproject.toml for pip install + +**Security:** + +* diff --git a/pyproject.toml b/pyproject.toml index c4735a8..59bb22a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "bg-mpl-stylesheets" -dynamic=['version'] +dynamic=['version', 'dependencies'] authors = [ { name="Simon J.L. Billinge group", email="simon.billinge@gmail.com" }, ] @@ -48,6 +48,9 @@ include = ["*"] # package names should match these glob patterns (["*"] by defa exclude = ["bg-mpl-stylesheets.tests*"] # exclude packages matching these glob patterns (empty by default) namespaces = false # to disable scanning PEP 420 namespaces (true by default) +[tool.setuptools.dynamic] +dependencies = {file = ["requirements/run.txt"]} + [tool.black] line-length = 115 include = '\.pyi?$'