-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
55 lines (47 loc) · 1.57 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
[build-system]
requires = ["hatchling>=1.21.0"]
build-backend = "hatchling.build"
[project]
name = "mseedindex"
description = "A Python package entry for building the C-based mseedindex program"
authors = [
{ name = "EarthScope Data Services", email = "[email protected]" },
]
readme = "README.md"
requires-python = ">=3.8"
keywords = ["seismology", "miniseed", "mseed", "data", "waveform", "seismic"]
license = { text = "Apache-2.0" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX :: Other",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/EarthScope/mseedindex"
Issues = "https://github.com/EarthScope/mseedindex/issues"
[project.scripts]
mseedindex = "mseedindex.__main__:main"
[tool.hatch.version]
path = "src/mseedindex.c"
pattern = "#define\\s+VERSION\\s+\"(?P<version>[^\"]+)\""
[tool.hatch.build]
exclude = [
"libmseed/test/*",
"libmseed/doc/*",
"libmseed/example/*",
]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "python/hatch_build_mseedindex.py"
[tool.hatch.build.targets.wheel]
exclude = ['libmseed']
packages = ["mseedindex"]
[tool.hatch.build.targets.wheel.force-include]
"mseedindex" = "mseedindex/mseedindex"
"python/__main__.py" = "mseedindex/__main__.py"