forked from mhm-ufz/mHM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (79 loc) · 2.59 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
requires = [
"setuptools>=63,<64",
"setuptools_scm[toml]>=7",
"scikit-build>=0.16,<0.17",
"oldest_supported_numpy",
"cmake",
"ninja",
"fypp",
]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.8"
name = "mhm"
description = "Python distribution of mHM with bindings."
authors = [{name = "mHM Developers", email = "[email protected]"}]
readme = "README.md"
license = {text = "LGPL-3.0"}
dynamic = ["version"]
keywords = ["mHM"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Hydrology",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Utilities",
]
dependencies = ["numpy>=1.17.3"]
[project.urls]
Changelog = "https://www.mhm-ufz.org"
Conda-Forge = "https://anaconda.org/conda-forge/mhm"
Documentation = "https://www.mhm-ufz.org"
Homepage = "https://www.mhm-ufz.org"
Source = "https://www.mhm-ufz.org"
Tracker = "https://www.mhm-ufz.org"
[project.scripts]
mhm = "mhm.cli:mhm"
[tool.setuptools_scm]
write_to = "pybind/mhm/_version.py"
write_to_template = "__version__ = '{version}'"
local_scheme = "no-local-version"
fallback_version = "0.0.0.dev0"
search_parent_directories = true
[tool.black]
exclude = "_version.py"
target-version = ["py38"]
[tool.isort]
profile = "black"
multi_line_output = 3
known_first_party = ["mhm"]
[tool.cibuildwheel]
# Super-verbose output for debugging purpose
build-verbosity = 3
# skip py37, pypy and musl
skip = ["cp37*", "pp*", "*-musllinux_*"]
# check command
test-command = "mhm -h && mhm {project}"
[tool.cibuildwheel.linux]
environment = { FC="gfortran", F77="gfortran", CC="gcc", CXX="g++" }
before-all = "source CI-scripts/install-deps /usr && ldconfig"
[tool.cibuildwheel.macos]
environment = { FC="gfortran-11", F77="gfortran-11", CC="gcc-11", CXX="g++-11" }
before-all = "source CI-scripts/install-deps-sudo /opt/local"