From 14bf6c355889c38d1683d6bf8edcfb80a11c3481 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 31 Mar 2021 15:29:05 +0530 Subject: Specify dependencies in pyproject.toml. * pyproject.toml (project): Specify numpy as a dependency. (project.optional-dependencies): Specify pytest as an optional dependency. --- pyproject.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index aea73e8..8c58b95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,13 @@ +[project] +dependencies = [ + "numpy" +] + +[project.optional-dependencies] +tests = [ + "pytest" +] + [build-system] requires = [ "setuptools>=42", -- cgit v1.2.3