-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
112 lines (100 loc) · 2.67 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
111
112
[tool.pytest.ini_options]
testpaths = ["c2cgeoform/tests"]
[tool.black]
line-length = 110
target-version = ["py39"]
[tool.isort]
profile = "black"
line_length = 110
[tool.mypy]
python_version = 3.9
warn_redundant_casts = true
warn_unused_ignores = true
ignore_missing_imports = true
strict = true
[tool.poetry]
name = "c2cgeoform"
version = "0.0.0"
description = "c2cgeoform"
readme = "README.md"
classifiers = [
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Typing :: Typed",
]
authors = ["Camptocamp <[email protected]>"]
repository = "https://github.com/camptocamp/c2cgeoform"
keywords = ["web", "wsgi", "bfg", "pylons", "pyramid"]
include = [
"c2cgeoform/py.typed",
"c2cgeoform/scaffolds/c2cgeoform/**",
"c2cgeoform/templates/**",
"c2cgeoform/static/**",
"c2cgeoform/static/dist/*",
]
exclude = ["c2cgeoform/static/node_modules/**"]
packages = [{ include = "c2cgeoform" }]
[tool.poetry.plugins."paste.app_factory"]
main = "c2cgeoform:main"
[tool.poetry.plugins."pyramid.scaffold"]
c2cgeoform = "c2cgeoform.scaffolds:C2cgeoformTemplate"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
babel = "2.16.0"
colanderalchemy = "0.3.4"
deform = "2.0.15"
geoalchemy2 = "0.15.2"
geojson = "3.1.0"
lingua = "4.15.0"
psycopg2 = { version = "2.9.10", optional = true }
psycopg2-binary = { version = "2.9.10", optional = true }
pyramid = "2.0.2"
pyramid-beaker = "0.9"
pyramid-chameleon = "0.3"
pyramid-jinja2 = "2.10.1"
pyproj = "3.7.0"
shapely = "2.0.6"
sqlalchemy = "2.0.36"
zope-sqlalchemy = "3.1"
requests = "2.32.3"
[tool.poetry.group.dev.dependencies]
prospector = { version = "1.12.1", extras = [
"with-bandit",
"with-mypy",
"with-pyroma"
] }
prospector-profile-duplicated = "1.6.0"
prospector-profile-utils = "1.9.1"
webtest = "3.0.1"
sphinx = "7.4.7"
sphinx-rtd-theme = "3.0.1"
types-requests = "2.32.0.20241016"
pytest = "8.3.3"
cookiecutter = "2.6.0"
[tool.poetry.extras]
psycopg2 = ["psycopg2"]
psycopg2-binary = ["psycopg2-binary"]
[build-system]
requires = [
"poetry-core>=1.0.0",
"poetry-dynamic-versioning",
"poetry-plugin-tweak-dependencies-version"
]
build-backend = "poetry.core.masonry.api"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+(\\.\\d+)*)"
format-jinja = """
{%- if env.get("VERSION_TYPE") == "version_branch" -%}
{{serialize_pep440(bump_version(base, 1 if env.get("IS_MASTER") == "TRUE" else 2), dev=distance)}}
{%- elif distance == 0 -%}
{{serialize_pep440(base)}}
{%- else -%}
{{serialize_pep440(bump_version(base), dev=distance)}}
{%- endif -%}
"""
[tool.poetry-plugin-tweak-dependencies-version]
default = "present"