-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
98 lines (88 loc) · 2.35 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
89
90
91
92
93
94
95
96
97
98
[build-system]
build-backend = "mesonpy"
requires = [
"meson-python>=0.13.1",
"numpy>=2",
"setuptools_scm>=7",
]
[project]
name = "pymsis"
dynamic = ["version"]
description = "A Python wrapper around the NRLMSIS model."
readme = "README.md"
license = {file = "LICENSE"}
keyword = ["MSIS2", "NRLMSIS"]
authors = [{name = "Greg Lucas", email = "[email protected]"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
requires-python = ">=3.10"
dependencies = ["numpy>=1.23"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
doc = [
"matplotlib",
"myst-parser",
"sphinx",
"sphinx_gallery",
"pydata-sphinx-theme",
]
dev = [
"pymsis[doc,test]",
"mypy",
"pre-commit",
"ruff",
]
[project.urls]
homepage = "https://swxtrec.github.io/pymsis/"
repository = "https://github.com/swxtrec/pymsis"
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
local_scheme = "node-and-date"
parentdir_prefix_version = "pymsis-"
fallback_version = "0.0+UNKNOWN"
[tool.pytest.ini_options]
junit_family = "xunit2"
testpaths = [
"tests",
]
addopts = [
"--import-mode=importlib",
]
[tool.cibuildwheel]
# skip Python <3.10
# skip 32 bit windows and linux builds for lack of numpy wheels
skip = "cp36* cp37* cp38* cp39* *-win32 *_i686"
free-threaded-support = true
test-requires = "pytest"
test-command = "pytest --pyargs pymsis"
[tool.ruff]
target-version = "py310"
lint.select = ["B", "D", "E", "F", "I", "N", "S", "W", "PL", "PT", "UP", "RUF", "ANN"]
lint.ignore = ["B028", "D203", "D212", "PLR0913", "S310"]
[tool.ruff.lint.per-file-ignores]
"examples/*" = ["ANN", "D", "PLR2004"]
"tests/*" = ["ANN", "D", "S"]
"tools/*" = ["ANN", "S"]
".github/*" = ["S"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
lines-after-imports = 2