-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (100 loc) · 2.77 KB
/
Copy pathpyproject.toml
File metadata and controls
115 lines (100 loc) · 2.77 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mt_metadata"
version = "1.0.9"
description = "Metadata for magnetotelluric data"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
authors = [
{name = "Jared Peacock", email = "jpeacock@usgs.gov"},
{name = "Anna Kelbert"},
{name = "Karl Kappler"},
{name = "Lindsey Heagy"},
{name = "Andy Frassetto"},
{name = "Tim Ronan"},
]
keywords = ["mt_metadata"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"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",
]
requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy",
"pandas",
"matplotlib",
"xarray",
"loguru",
"pydantic[email] >= 2.0.0",
"pyproj>=3.4.0",
"typing_extensions>=4.0.0",
]
[project.optional-dependencies]
obspy = ["obspy"]
test = ["pytest>=3", "pytest-subtests", "pytest-cov"]
[project.urls]
Homepage = "https://github.com/kujaku11/mt_metadata"
Repository = "https://github.com/kujaku11/mt_metadata"
Documentation = "https://mt-metadata.readthedocs.io/"
[tool.setuptools.packages.find]
include = ["mt_metadata", "mt_metadata.*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"*" = [
"data/mt_xml/*.xml",
"data/stationxml/*.xml",
"data/stationxml/readme",
"data/transfer_functions/*.edi",
"data/transfer_functions/*.xml",
"data/transfer_functions/*.avg",
"data/transfer_functions/*.j",
"data/transfer_functions/*.zmm",
"data/transfer_functions/*.zss",
"data/transfer_functions/*.txt",
"data/licenses.json",
"../HISTORY.rst",
"../AUTHORS.rst",
]
[tool.pytest.ini_options]
collect_ignore = ["setup.py"]
testpaths = ["tests"]
[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 = ["mt_metadata"]
[tool.autoflake]
remove-all-unused-imports = true
expand-star-imports = true
ignore-init-module-imports = true
in-place = true
[tool.bumpversion]
current_version = "1.0.9"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[[tool.bumpversion.files]]
filename = "mt_metadata/__init__.py"
[[tool.bumpversion.files]]
filename = "README.md"
[[tool.bumpversion.files]]
filename = "code.json"