Skip to content

Commit 129eb74

Browse files
committed
Move pyproject.toml to root and rm setup.py
1 parent b506f9b commit 129eb74

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

pymultio/setup.py

-3
This file was deleted.

pymultio/pyproject.toml renamed to pyproject.toml

+11-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,22 @@
88

99
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
1010

11+
[tool.pytest.ini_options]
12+
minversion = "6.0"
13+
addopts = "-vv -s"
14+
testpaths = [
15+
"pymultio/tests"
16+
]
17+
1118
[build-system]
1219
requires = [ "setuptools>=60", "setuptools-scm>=8" ]
20+
build-backend = "setuptools.build_meta"
1321

1422
[project]
1523
name = "pymultio"
16-
24+
readme = "README.md"
1725
description = "A Python interface to multio."
1826
keywords = [ "multio", "multiopython", "tools" ]
19-
2027
license = { file = "LICENSE" }
2128
authors = [
2229
{ name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "[email protected]" },
@@ -56,6 +63,8 @@ urls.Repository = "https://github.com/ecmwf/multio/"
5663

5764

5865
[tool.setuptools]
66+
packages = ["multio"]
67+
package-dir = { "multio" = "./pymultio/src/multio" }
5968
include-package-data = true
6069
zip-safe = true
6170

0 commit comments

Comments
 (0)