-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
86 lines (77 loc) · 2.83 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
[project]
name = "tom-alertstreams"
description = "Reusable TOMToolkit app for listening to kafka streams."
authors = [
{name = "TOM Toolkit Project", email = "tomtoolkit-maintainers@lco.global"},
{name = "Lindy Lindstrom", email = "llindstrom@lco.global"}
]
maintainers = [
{name = "Joey Chatelain", email = "jchate6@gmail.com"},
{name = "William Lindstrom", email = "llindstrom@lco.global"},
]
license = "GPL-3.0-only"
readme = "README.md"
repository = "https://github.com/TOMToolkit/tom-alertstreams"
keywords = ["tomtoolkit", "astronomy", "astrophysics", "cosmology", "science"]
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.1",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"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 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics"
]
dynamic = ["version"]
requires-python = ">=3.9.0,<=3.13"
dependencies = [
"django <6",
"django-extensions >=3.2.3,<4"
]
[project.optional-dependencies]
gcn = ["gcn-kafka >=0.3,<1.0"]
hopskotch = ["hop-client >=0.10,<1.0"]
antares = ["antares-client"]
fink = ["fink-client >=8.8,<9"]
all-streams = [
"gcn-kafka >=0.3,<1.0",
"hop-client >=0.10,<1.0",
"antares-client",
"fink-client >=8.8,<9",
]
test = [
"coverage >=7.6.1,<8",
"factory_boy >=3.1.0,<4",
"pytest >=8.3.2,<9",
]
[tool.setuptools_scm]
[tool.poetry]
version = "0.0.0" # version supplied by poetry-dynamic-versioning
[tool.poetry.requires-plugins]
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
# the default pattern regex makes the 'v' manditory
# this pattern modifies the default regex in order to make the 'v' optional
# ('v' becomes '[v]?' meaning a single v, [v], and ? means optional)
pattern = "(?x)^[v]?((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)([-._]?((?P<stage>[a-zA-Z]+)[-._]?(?P<revision>\\d+)?))?(\\+(?P<tagged_metadata>.+))?$"
# substitute version not only in pyproject.toml (which the config block above does)
# but also the __version__.py file (using the default value of the files property).
[tool.poetry-dynamic-versioning.substitution]
[build-system]
requires = [
"poetry-core>=1.0.0",
"poetry-dynamic-versioning >=1.0.0, <2.0.0"]
build-backend = "poetry.core.masonry.api"