Skip to content

Commit 29ad866

Browse files
committed
Removed poetry
1 parent f2d4835 commit 29ad866

2 files changed

Lines changed: 44 additions & 39 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ instance/
7070
# Sphinx documentation
7171
docsrc/_build/
7272
docsrc/autoapi/
73+
_build/
7374

7475
# PyBuilder
7576
target/
@@ -128,5 +129,6 @@ dmypy.json
128129
.DS_Store
129130

130131
poetry.lock
132+
*.lock
131133

132134
docsrc/auto_examples/

pyproject.toml

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,51 @@
1-
[tool.poetry]
1+
[project]
22
name = "pyEPR-ESR"
33
version = "1.1"
44
description = ""
5-
authors = ["Hugo Karas <hkaras@ethz.ch>", "Gunnar Jeschke <gjeschke@eth.ch>", "Stefan Stoll <stst@uw.edu>"]
65
readme = "README.md"
7-
packages = [
8-
{ include = "pyepr" }
6+
requires-python = ">=3.11,<4.0"
7+
authors = [
8+
{ name = "Hugo Karas", email = "hkaras@ethz.ch" },
9+
{ name = "Gunnar Jeschke", email = "gjeschke@eth.ch" },
10+
{ name = "Stefan Stoll", email = "stst@uw.edu" },
11+
]
12+
dependencies = [
13+
"numpy>=2.1,<3.0",
14+
"scipy>=1.14.1",
15+
"matplotlib>=3.9.2",
16+
"pyyaml>=6.0.2,<7.0.0",
17+
"xarray>=2025",
18+
"h5py>3.15",
19+
"h5netcdf>1.4.0",
20+
"toml>=0.10.2",
21+
"deerlab>=1.1.4,<2.0",
22+
"psutil>=7.1.3",
23+
"requests>=2.32",
924
]
1025

11-
[tool.poetry.dependencies]
12-
python = ">=3.11,<4.0"
13-
numpy = ">=2.1,<3.0"
14-
scipy = ">=1.14.1"
15-
matplotlib = ">=3.9.2"
16-
pyyaml = "^6.0.2"
17-
xarray = ">=2025"
18-
h5py = ">3.15"
19-
h5netcdf = ">1.4.0"
20-
toml = ">=0.10.2"
21-
deerlab = ">=1.1.4,<2.0"
22-
psutil = ">=7.1.3"
23-
requests = ">=2.32"
24-
25-
26-
[tool.poetry.group.dev.dependencies]
27-
gitpython = "^3.1.43"
28-
pytest = "^8.3.3"
29-
30-
31-
[tool.poetry.group.doc.dependencies]
32-
furo = {version = ">=2024.8.6"}
33-
autoapi = {version = ">=2.0.1"}
34-
sphinx = {version = ">=8.1.3"}
35-
sphinx-autoapi = ">=3.3.3"
36-
sphinx-toolbox = ">=3.8.1"
37-
sphinx-copybutton = ">=0.5.2"
38-
numpydoc = ">=1.8.0"
39-
sphinx-favicon = ">=1.0.1"
40-
sphinx-autobuild = ">=2025.8.25"
41-
sphinx-gallery = ">=0.19.0"
42-
myst-parser = ">=4.0.1"
43-
sphinx-design = ">=0.6.1"
26+
[project.optional-dependencies]
27+
dev = [
28+
"gitpython>=3.1.43,<4.0.0",
29+
"pytest>=8.3.3,<9.0.0",
30+
]
31+
doc = [
32+
"furo>=2024.8.6",
33+
"autoapi>=2.0.1",
34+
"sphinx>=8.1.3",
35+
"sphinx-autoapi>=3.3.3",
36+
"sphinx-toolbox>=3.8.1",
37+
"sphinx-copybutton>=0.5.2",
38+
"numpydoc>=1.8.0",
39+
"sphinx-favicon>=1.0.1",
40+
"sphinx-autobuild>=2025.8.25",
41+
"sphinx-gallery>=0.19.0",
42+
"myst-parser>=4.0.1",
43+
"sphinx-design>=0.6.1",
44+
]
4445

4546
[build-system]
46-
requires = ["poetry-core"]
47-
build-backend = "poetry.core.masonry.api"
47+
requires = ["hatchling"]
48+
build-backend = "hatchling.build"
4849

50+
[tool.hatch.build.targets.wheel]
51+
packages = ["pyepr"]

0 commit comments

Comments
 (0)