-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
110 lines (93 loc) · 2.21 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
[build-system]
requires = [
"setuptools >= 61",
"setuptools-scm >= 7",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "gwtrigfind"
description = "Utility to find files archived by GW event trigger generators"
readme = "README.md"
authors = [
{ name = "Duncan Macleod", email = "[email protected]" },
]
license = { text = "GPL-3.0-or-later" }
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
# requirements
requires-python = ">=3.8"
dependencies = [
"gpstime",
"ligo-segments",
]
# dynamic properties set by tools
dynamic = [
"version",
]
[project.optional-dependencies]
# test suite
test = [
"pytest >=3.9.1",
"pytest-cov >=2.4.0",
]
# documentation
docs = [
"numpydoc",
"sphinx < 6.0a0",
"sphinx-automodapi",
"sphinx_rtd_theme",
"sphinx_tabs",
]
[project.urls]
"Bug Tracker" = "https://git.ligo.org/detchar/tools/gwtrigfind/-/issues"
"Documentation" = "https://gwtrigfind.readthedocs.io/"
"Source Code" = "https://git.ligo.org/detchar/tools/gwtrigfind.git"
[project.scripts]
gwtrigfind = "gwtrigfind.cli:main"
# -- coverage.py
[tool.coverage.paths]
source = [
"gwtrigfind/",
"*/gwtrigfind/",
]
[tool.coverage.run]
source = [ "gwtrigfind" ]
[tool.coverage.report]
omit = [
# ignore version file created by setuptools-scm
"*/_version.py",
]
# print report with one decimal point
precision = 1
# -- pytest
[tool.pytest.ini_options]
addopts = "-r a"
filterwarnings = [
# fail on any warnings
"error",
# except:
# see https://git.ligo.org/cds/software/gpstime/-/merge_requests/15
"ignore:.*utcfromtimestamp::gpstime",
]
# -- setuptools
[tool.setuptools]
license-files = [ "LICENSE" ]
[tool.setuptools.packages.find]
include = [
"gwtrigfind*",
]
# -- setuptools-scm
[tool.setuptools_scm]
write_to = "gwtrigfind/_version.py"