From f1f4dd624d7d8e371a31302c1841a29c3db242e1 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Sat, 29 Jun 2024 17:16:15 +0200 Subject: [PATCH 1/2] build: Make PineAPPLpy depending on the CLI package --- pineappl_py/pyproject.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pineappl_py/pyproject.toml b/pineappl_py/pyproject.toml index 642024554..bd69405b6 100644 --- a/pineappl_py/pyproject.toml +++ b/pineappl_py/pyproject.toml @@ -21,10 +21,15 @@ classifiers = [ "Topic :: Scientific/Engineering :: Physics", ] -dependencies = ["numpy>=1.16.0,<2.0.0"] +dependencies = ["numpy>=1.16.0,<2.0.0", "pineappl-cli"] [project.optional-dependencies] -docs = ["sphinx>=6.2.1", "sphinx_rtd_theme>=1.2.2", "sphinxcontrib-bibtex>=2.5.0", "nbsphinx>=0.9.2"] +docs = [ + "sphinx>=6.2.1", + "sphinx_rtd_theme>=1.2.2", + "sphinxcontrib-bibtex>=2.5.0", + "nbsphinx>=0.9.2", +] test = ["pytest", "pytest-cov"] [project.urls] From 11b7a36750302689a8d56314e2d90bfebf89f94b Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Sun, 30 Jun 2024 10:18:53 +0200 Subject: [PATCH 2/2] build: Move cli to optional dependencies --- pineappl_py/pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pineappl_py/pyproject.toml b/pineappl_py/pyproject.toml index bd69405b6..cb0886107 100644 --- a/pineappl_py/pyproject.toml +++ b/pineappl_py/pyproject.toml @@ -21,9 +21,10 @@ classifiers = [ "Topic :: Scientific/Engineering :: Physics", ] -dependencies = ["numpy>=1.16.0,<2.0.0", "pineappl-cli"] +dependencies = ["numpy>=1.16.0,<2.0.0"] [project.optional-dependencies] +cli = ["pineappl-cli"] docs = [ "sphinx>=6.2.1", "sphinx_rtd_theme>=1.2.2",