From e883d151cdef37497930ae216a36c9a6a43e24d2 Mon Sep 17 00:00:00 2001 From: Daniel Pozsar Date: Fri, 8 Nov 2024 17:00:43 +0100 Subject: [PATCH] proper requirements, tqdm as optional dependency, proper pythonpath and grogu source --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 691dd5d..ccb10fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,17 +19,14 @@ kewords = [ ] requires-python = ">=3.9" dependencies = [ - "numpy", + "numpy==1.24.4", "scipy", - "sisl", - "netcdf4", + "sisl==0.14.3", + "netcdf4==1.7.2", "openmpi", "mpi4py", "threadpoolctl" ] -optional-dependencies = [ - "tqdm" -] classifiers = [ "Development Status :: 3 - Alpha", @@ -41,8 +38,11 @@ classifiers = [ "Operating System :: OS Independent", ] +[project.optional-dependencies] +tqdm = ["tqdm"] + [project.scripts] -grogu = "grogu:main" +grogupy = "grogupy.grogu:main" [project.urls] Homepage = "https://gitea.vo.elte.hu/et209d/grogu" @@ -52,7 +52,7 @@ Issues = "https://gitea.vo.elte.hu/et209d/grogu" [tool.pytest.ini_options] pythonpath = [ - "src/grogu_magn/" + "src/grogupy/" ] addopts = [ "--import-mode=importlib",