-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (48 loc) · 1.56 KB
/
pyproject.toml
File metadata and controls
55 lines (48 loc) · 1.56 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
[project]
name = "etptypes"
dynamic = [ "version", "dependencies" ]
description = "ETP python dev kit"
authors = [
{name = "Lionel Untereiner", email = "lionel.untereiner@geosiris.com"} ,
{name = "Valentin Gauthier", email = "valentin.gauthier@geosiris.com"}
]
maintainers = [
{name = "Valentin Gauthier", email = "valentin.gauthier@geosiris.com"}
]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/geosiris-technologies/etptypes-python"
homepage = "http://www.geosiris.com"
keywords = ["ETP"]
requires-python = ">=3.9, <4.0"
[tool.poetry]
version = "0.0.0"
[tool.poetry.dependencies]
pydantic = "<2.0.0"
typingx = "^0.6.0"
[tool.poetry.group.dev.dependencies]
avro-to-python-etp = "^1.0.11"
poetry-dynamic-versioning = {extras = ["plugin"], version = "^1.8.2"}
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.1"]
build-backend = "poetry_dynamic_versioning.backend"
# [build-system]
# requires = ["poetry-core>=1.0.0"]
# build-backend = "poetry.core.masonry.api"
[project.entry-points."poetry.plugin"]
"dynamic-versioning" = "poetry_dynamic_versioning.plugin"
[tool.dunamai]
version_strategy = "post-release"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance) }}
{%- endif -%}
"""