-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpyproject.toml
115 lines (101 loc) · 3.14 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[project]
name = "geometric_features"
dynamic = ["version"]
authors = [
{ name="Xylar Asay-Davis", email="[email protected]" },
{ name="Milena Veneziani" },
{ name="Althea Denlinger" },
{ name="Phillip J. Wolfram" },
{ name="Alex Hager" },
{ name="Doug Jacobsen" },
{ name="Carolyn Begeman" },
{ name="Mark Petersen" },
{ name="Stephen Price" },
]
description = """\
Tools for manipulating regions, transects, and points in geojson format
associated with climate modeling.\
"""
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
# these are only for searching/browsing projects on PyPI
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
]
dependencies = [
"numpy",
"matplotlib",
"cartopy",
"shapely >=2.0,<3.0",
"requests",
"progressbar2",
]
[project.optional-dependencies]
docs = [
# building documentation
"sphinx >=7.0.0",
"sphinx_rtd_theme",
"myst-parser",
"sphinx-multiversion",
]
dev = [
# linting and testing
"pip",
"flynt",
"pre-commit",
"ruff",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = ["docs*", "conda*"]
line-length = 79
[tool.ruff.lint]
# E501 - max line-length
# E4 - whitespace
# E7 - multiple-statements
# E9 - trailing-whitespace
# F - Enable Pyflakes
# B - Enable flake8-bugbear
# W - Enable pycodestyle
# I - imports
# C901 - complex-structure
# D - Enable flake8-docstrings
select = ["E501", "E4", "E7", "E9", "F", "B", "W", "I", "C901"]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.mccabe]
# Flag errors (`C901`) whenever the complexity level exceeds 18.
max-complexity = 18
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[build-system]
requires = ["setuptools>=60"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include=["geometric_features", "geometric_features.*"]
[tool.setuptools.dynamic]
version = { attr = "geometric_features.version.__version__" }
# evolution of options.entry-points
[project.scripts]
combine_features = "geometric_features.__main__:combine_features"
difference_features = "geometric_features.__main__:difference_features"
fix_features_at_antimeridian = "geometric_features.__main__:fix_features_at_antimeridian"
merge_features = "geometric_features.__main__:merge_features"
plot_features = "geometric_features.__main__:plot_features"
set_group_name = "geometric_features.__main__:set_group_name"
simplify_features = "geometric_features.__main__:simplify_features"
split_features = "geometric_features.__main__:split_features"
tag_features = "geometric_features.__main__:tag_features"
[project.urls]
Documentation = "http://mpas-dev.github.io/geometric_features/main/"
"Bug Tracker" = "https://github.com/MPAS-Dev/geometric_features/issues"