-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (108 loc) · 2.87 KB
/
Copy pathpyproject.toml
File metadata and controls
125 lines (108 loc) · 2.87 KB
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
116
117
118
119
120
121
122
123
124
125
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mtpy-v2"
version = "2.1.2"
description = "Python toolkit for standard magnetotelluric data processing."
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
authors = [
{name = "Jared Peacock", email = "jpeacock@usgs.gov"},
{name = "Alison Kirkby"},
{name = "Fei Zhang"},
{name = "Rakib Hassan"},
{name = "Lars Krieger"},
{name = "Stephan Thiel"},
]
keywords = ["magnetotellurics"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"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",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy",
"xarray>=2024.10.0",
"matplotlib",
"pyproj",
"configparser",
"mt_metadata",
"mth5",
"geopandas",
"rasterio",
"contextily",
"pyevtk",
"simpeg",
"aurora",
]
[project.optional-dependencies]
test = [
"pytest>=3",
"pytest-cov",
"pytest-mock",
"pytest-subtests",
"pytest-xdist",
]
[project.urls]
Homepage = "https://github.com/MTgeophysics/mtpy-v2"
Repository = "https://github.com/MTgeophysics/mtpy-v2"
[tool.setuptools.packages.find]
include = ["mtpy", "mtpy.*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"*" = [
"HISTORY.rst",
"LICENSE",
"README.md",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests requiring external resources or end-to-end workflows",
"unit: marks fast unit tests",
"plotting: marks tests that create matplotlib plots",
"perf: marks performance / profiling tests in tests/perf/",
]
[tool.black]
line-length = 88
target-version = ['py310', 'py311']
include = '\.pyi?$'
skip-string-normalization = false
[tool.isort]
profile = "black"
skip = "__init__.py"
force_alphabetical_sort_within_sections = true
order_by_type = true
lines_after_imports = 2
known_first_party = ["mtpy"]
[tool.autoflake]
remove-all-unused-imports = true
expand-star-imports = true
ignore-init-module-imports = true
in-place = true
[tool.bumpversion]
current_version = "2.1.2"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "mtpy/__init__.py"
[[tool.bumpversion.files]]
filename = "README.md"
[[tool.bumpversion.files]]
filename = "docs/source/conf.py"