From 1d64a40c215b9862212bb0cb5e8addc9f1b5bc6b Mon Sep 17 00:00:00 2001 From: Henry Webel Date: Thu, 31 Oct 2024 13:43:58 +0100 Subject: [PATCH] :memo: reference and second requirements option --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8271b14..f6e1e82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,4 @@ +# ref: https://setuptools.pypa.io/en/stable/userguide/pyproject_config.html [project] authors = [ { name = "Jakob Nybo Nissen", email = "jakobnybonissen@gmail.com" }, @@ -17,8 +18,13 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] -# # add dependencies here: +# # add dependencies here: (use one of the two) # dependencies = ["numpy", "pandas", "scipy", "matplotlib", "seaborn"] +# use requirements.txt instead of pyproject.toml for dependencies +# https://stackoverflow.com/a/73600610/9684872 +# [tool.setuptools.dynamic] +# dependencies = {file = ["requirements.txt"]} + [project.urls] "Bug Tracker" = "https://github.com/RasmussenLab/python_package/issues"