From bcd8ce5b2f478a2adc409c8ab7831a3e8cc5f95d Mon Sep 17 00:00:00 2001 From: RalfG Date: Wed, 24 Apr 2024 15:59:21 +0200 Subject: [PATCH] Fix package discovery --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index be7ca30..4443f1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,8 +39,11 @@ homepage = "https://github.com/compomics/molexpress" requires = ["setuptools"] build-backend = "setuptools.build_meta" -[tool.setuptools] -packages = ["molexpress"] +[tool.setuptools.dynamic] +version = { attr = "molexpress.__version__" } + +[tool.setuptools.packages.find] +include = ["molexpress*"] [tool.isort] profile = "black"