From 925fa2a67517e5c8ad6b7cb53b50480bbca75e9c Mon Sep 17 00:00:00 2001 From: Andrew Hearin Date: Mon, 30 Oct 2023 14:37:54 -0500 Subject: [PATCH] infer dependencies from requirements.txt from within pyprojec.toml --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 87729c1..eda7243 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,8 +31,11 @@ license = {file = "LICENSE.rst"} classifiers = [ "Programming Language :: Python :: 3", ] -dependencies = ["numpy", "jax"] -dynamic = ["version"] +dynamic = ["version", "dependencies"] + +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} + [tool.black] line-length = 88