-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpyproject.toml
106 lines (97 loc) · 3.33 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
[tool.ruff]
target-version = "py310"
line-length = 110
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.poetry]
name = "tilecloud"
version = "0.0.0"
description = "Tools for managing tiles"
readme = "README.md"
authors = ["Camptocamp <[email protected]>"]
repository = "https://github.com/camptocamp/tilecloud"
license = "BSD-2-Clause"
keywords = ["gis", "tilecloud"]
packages = [{ include = "tilecloud" }]
classifiers = [
'Development Status :: 6 - Mature',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering :: GIS',
'Typing :: Typed',
]
include = ["tilecloud_chain/py.typed"]
[tool.poetry.scripts]
c2cciutils = "c2cciutils.scripts.main:main"
tc-copy = "tilecloud.scripts.tc_copy:main"
tc-delete = "tilecloud.scripts.tc_delete:main"
tc-info = "tilecloud.scripts.tc_info:main"
tc-mask = "tilecloud.scripts.tc_mask:main"
tc-mbtiles = "tilecloud.scripts.tc_mbtiles_create:main"
tc-mbtiles-info = "tilecloud.scripts.tc_mbtiles_info:main"
tc-redifined-bounds = "tilecloud.scripts.tc_refine_bounds:main"
tc-viewer = "tilecloud.scripts.tc_viewer:main"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
azure-storage-blob = { version = "12.24.1", optional = true }
azure-identity = { version = "1.19.0", optional = true }
boto3 = { version = "1.36.26", optional = true }
bottle = "0.13.2"
prometheus_client = { version = "0.21.1", optional = true }
Pillow = "11.1.0"
pyproj = "3.7.1"
pyramid = { version = "2.0.2", optional = true }
requests = "2.32.3"
redis = { version = "5.2.1", optional = true }
cryptography = "44.0.2"
[tool.poetry.extras]
azure = ["azure-storage-blob", "azure-identity"]
aws = ["boto3"]
wsgi = ["pyramid"]
redis = ["redis"]
prometheus = ["prometheus_client"]
all = ["azure-storage-blob", "azure-identity", "boto3", "pyramid", "redis", "prometheus_client"]
[tool.poetry.group.dev.dependencies]
prospector = { version = "1.15.3", extras = ["with_bandit", "with_mypy", "with_pyroma", "with_ruff"] }
prospector-profile-duplicated = "1.10.5"
prospector-profile-utils = "1.22.3"
pytest = "8.3.4"
pytest-cov = "6.0.0"
types-boto = "2.49.18.20241019"
types-redis = "4.6.0.20241004"
types-requests = "2.32.0.20250301"
pycairo = "1.27.0"
Shapely = "2.0.7"
urllib3 = "2.3.0" # Lock the used version to avoid lock issue
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+(\\.\\d+)*)"
format-jinja = """
{%- if env.get("VERSION_TYPE") == "default_branch" -%}
{{serialize_pep440(bump_version(base, 1), dev=distance)}}
{%- elif env.get("VERSION_TYPE") == "stabilization_branch" -%}
{{serialize_pep440(bump_version(base, 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"
[build-system]
requires = [
"poetry-core>=1.3.0",
"poetry-dynamic-versioning",
"poetry-plugin-tweak-dependencies-version>=1.1.0",
"poetry-plugin-tweak-dependencies-version",
"poetry-plugin-drop-python-upper-constraint"
]
build-backend = "poetry.core.masonry.api"