-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (51 loc) · 1.65 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
[tool.poetry]
name = "traefik-certificate-exporter"
version = "0.1.3"
description = "Watches for changes to traefik acme json files and extracts certificates to a specific folder"
authors = ["Shawn Anderson <[email protected]>"]
readme = "README.md"
repository = "https://github.com/ravensorb/traefik-certificate-exporter"
homepage = "https://github.com/ravensorb/traefik-certificate-exporter"
keywords = ['traefik', 'letsencrypt']
packages = [{include = "traefik_certificate_exporter", from = "src"}]
[tool.poetry.dependencies]
python = "^3.10"
watchdog = "^2.1.9"
docker = "^6.0.0"
requests = "^2.28.1"
docker-pycreds = "^0.4.0"
confuse = "^2.0.1"
poetry = "^1.8.2"
python-dotenv = "^1.0.1"
importlib-resources = "^6.4.0"
jsonpickle = "^3.0.3"
coloredlogs = "^15.0.1"
logging-tree = "^1.9"
expandvars = "^0.12.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.2.1"
scriv = {extras = ["toml"], version = "^1.2.1"}
[tool.poetry.scripts]
traefik-certificate-exporter = "traefik_certificate_exporter.app:main"
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = false
vcs = "git"
#style = "semver"
#format = "{base}.{distance}-{commit}"
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision, dev=distance) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance) }}
{%- endif -%}
"""
bump = false
[tool.poetry-dynamic-versioning.substitution]
folders = [
{ path = "src" }
]