forked from IAGA-DVI-DataStandards/mth5
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
145 lines (127 loc) · 3.16 KB
/
Copy pathpyproject.toml
File metadata and controls
145 lines (127 loc) · 3.16 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mth5"
version = "0.6.5"
description = "Archivable and exchangeable format for magnetotelluric data"
authors = [
{name = "Jared Peacock", email = "jpeacock@usgs.gov"},
{name = "Karl Kappler"},
{name = "MTH5 Team"}
]
readme = "README.md"
license = {text = "MIT"}
keywords = ["mth5", "magnetotellurics", "hdf5", "data format"]
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 = [
"h5py",
"pyyaml",
"scipy",
"mt_metadata>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/kujaku11/mth5"
Repository = "https://github.com/kujaku11/mth5"
Documentation = "https://mth5.readthedocs.io/"
"Bug Tracker" = "https://github.com/kujaku11/mth5/issues"
[project.scripts]
mth5-cli = "mth5.utils.cli:main"
[project.optional-dependencies]
obspy = ["obspy"]
test = [
"pytest>=3",
"pytest-xdist",
"pytest-subtests",
"pytest-benchmark",
]
dev = [
"pytest>=3",
"pytest-xdist",
"pytest-subtests",
"pytest-runner",
"pytest-benchmark",
"black",
"flake8",
"isort",
"pre-commit",
]
[tool.setuptools]
zip-safe = false
include-package-data = true
license-files = ["LICENSE.md"]
[tool.setuptools.packages.find]
include = ["mth5*"]
[tool.setuptools.package-data]
mth5 = [
"data/*.asc",
"utils/*.yaml",
]
# Additional files to include in source distributions
# (corresponds to MANIFEST.in)
# Note: README.md is already included via project.readme
# License files are automatically included by setuptools
# For complete manifest control, MANIFEST.in is still used
# This includes: AUTHORS.rst, CONTRIBUTING.rst, HISTORY.rst,
# tests/*, docs/*, and examples/notebooks/*.TXT
[tool.pytest.ini_options]
markers = [
"performance: mark test as performance test",
"integration: mark test as integration test",
"slow: mark test as slow running"
]
addopts = "--ignore=setup.py"
testpaths = ["tests"]
[tool.flake8]
exclude = ["docs"]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.bumpversion]
current_version = "0.6.5"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[[tool.bumpversion.files]]
filename = "mth5/__init__.py"
[[tool.bumpversion.files]]
filename = "README.md"
[[tool.bumpversion.files]]
filename = "docs/README.rst"
[[tool.bumpversion.files]]
filename = "code.json"