proper requirements, tqdm as optional dependency, proper pythonpath and grogu source

class-solution
Daniel Pozsar 2 months ago
parent 6563280eb7
commit e883d151cd

@ -19,17 +19,14 @@ kewords = [
] ]
requires-python = ">=3.9" requires-python = ">=3.9"
dependencies = [ dependencies = [
"numpy", "numpy==1.24.4",
"scipy", "scipy",
"sisl", "sisl==0.14.3",
"netcdf4", "netcdf4==1.7.2",
"openmpi", "openmpi",
"mpi4py", "mpi4py",
"threadpoolctl" "threadpoolctl"
] ]
optional-dependencies = [
"tqdm"
]
classifiers = [ classifiers = [
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
@ -41,8 +38,11 @@ classifiers = [
"Operating System :: OS Independent", "Operating System :: OS Independent",
] ]
[project.optional-dependencies]
tqdm = ["tqdm"]
[project.scripts] [project.scripts]
grogu = "grogu:main" grogupy = "grogupy.grogu:main"
[project.urls] [project.urls]
Homepage = "https://gitea.vo.elte.hu/et209d/grogu" Homepage = "https://gitea.vo.elte.hu/et209d/grogu"
@ -52,7 +52,7 @@ Issues = "https://gitea.vo.elte.hu/et209d/grogu"
[tool.pytest.ini_options] [tool.pytest.ini_options]
pythonpath = [ pythonpath = [
"src/grogu_magn/" "src/grogupy/"
] ]
addopts = [ addopts = [
"--import-mode=importlib", "--import-mode=importlib",

Loading…
Cancel
Save