-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
77 lines (69 loc) · 2.4 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
[project]
name = "tom-fink"
description = "The Fink Alert Broker Module for the TOM Toolkit. Fink is a broker currently connected to ZTF. More information on Fink at https://fink-portal.org"
authors = [
{name = "Julien Peloton", email = "[email protected]"}
]
maintainers = [
{name = "William Lindstrom", email = "[email protected]"},
{name = "Joey Chatelain", email = "[email protected]"},
{name = "Rachel Street", email = "[email protected]"}
]
license = "GPL-3.0 license"
readme = "README.md"
repository = "https://github.com/TOMToolkit/tom_fink"
keywords = [
'tomtoolkit',
'astronomy',
'astrophysics',
'cosmology',
'science',
'observatory',
'alert',
'broker',
'fink'
]
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Physics'
]
dynamic = ["version"]
requires-python = ">=3.9,<3.13"
dependencies = [
"tomtoolkit>=2.17.2,<3",
"elasticsearch-dsl>=8.12.0,<9",
"Markdown>=3.5.2,<4",
"fink-client>=8.8,<9",
"tom-alertstreams>=0.6.2,<2.0"
]
[tool.poetry]
version = "0.0.0" # version supplied by poetry-dynamic-versioning
[tool.poetry.group.test.dependencies]
factory_boy = ">=3.1,<3.3"
[tool.poetry.group.coverage.dependencies]
coverage = "~6" # coveralls needs ~6 even though 7.3.2 is latest
coveralls = "~3"
[tool.poetry.group.lint.dependencies]
flake8 = ">=6.0,<7.1"
[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
[tool.poetry-dynamic-versioning.substitution]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"