-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
82 lines (73 loc) · 1.99 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
[project]
name = "xoa"
authors = [
{name = "Shom", email = "[email protected]"},
]
license = {text = "Apache-2.0"}
description = "xarray-based ocean analysis library"
dynamic = ["version"]
readme = "README.rst"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Atmospheric Science"
]
requires-python = ">=3.10"
dependencies = [
"appdirs",
"configobj",
"gsw",
"netCDF4",
"numba",
"scipy",
"xarray>=0.17"
]
[project.urls]
homepage = "https://xoa.readthedocs.io/"
issue-tracker = "https://github.com/shom-fr/xoa/issues"
source-code = "https://github.com/shom-fr/xoa"
[project.entry-points.console_scripts]
xoa = "xoa.cli:main"
[build-system]
requires = ["setuptools>=42", "setuptools_scm>7"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["xoa"]
[tool.setuptools.dynamic]
version = {attr = "xoa.__version__"}
[tool.setuptools_scm]
fallback_version = "999"
write_to = "xoa/_version.py"
write_to_template= '__version__ = "{version}"'
tag_regex= "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"
[tool.setuptools.package-data]
xoa = [
"cf.cfg",
"cf.ini",
"_samples/*"
]
[tool.flake8]
max-line-length = 100
ignore = [
"E203", # whitespace before ':'
"E402", # module level import not at top of file
"E501", # line too long - let black worry about that
"E731", # do not assign a lambda expression, use a def
"W503" # line break before binary operator
]
exclude = [
".eggs",
"doc"
]
[tool.black]
line-length = 100
target-version = ['py38']
skip-string-normalization = true