-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
110 lines (98 loc) · 3.52 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
[tool.black]
line-length = 110
target-version = ["py310"]
[tool.isort]
profile = "black"
line_length = 110
known_first_party = "tilecloud"
known_third_party = "c2cwsgiutils"
[tool.ruff]
line-length = 110
target-version = "py310"
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.poetry]
name = "tilecloud-chain"
version = "0.0.0"
description = "Tools to generate tiles from WMS or Mapnik, to S3, Berkeley DB, MBTiles, or local filesystem in WMTS layout using Amazon cloud services."
readme = "README.md"
authors = ["Camptocamp <[email protected]>"]
repository = "https://github.com/camptocamp/tilecloud-chain"
license = "BSD-2-Clause"
keywords = ["gis", "tilecloud", "chain"]
packages = [{ include = "tilecloud_chain" }]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Pyramid',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'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", "tilecloud_chain/*.rst", "tilecloud_chain/*.md"]
[tool.poetry.scripts]
generate-tiles = "tilecloud_chain.generate:main"
generate-controller = "tilecloud_chain.controller:main"
generate-cost = "tilecloud_chain.cost:main"
generate-copy = "tilecloud_chain.copy_:main"
generate-process = "tilecloud_chain.copy_:process"
import-expiretiles = "tilecloud_chain.expiretiles:main"
[tool.poetry.plugins."pyramid.scaffold"]
tilecloud_chain = "tilecloud_chain.scaffolds:Create"
[tool.poetry.plugins."paste.app_factory"]
main = "tilecloud_chain.server:main"
[tool.poetry.dependencies]
# Minimal version should also be set in the jsonschema-gentypes.yaml file
python = ">=3.10,<3.13"
c2cwsgiutils = { version = "6.1.5", extras = ["standard", "broadcast", "oauth2", "debug"] }
pyramid-mako = "1.1.0"
python-dateutil = "2.9.0.post0"
tilecloud = { version = "1.12.3", extras = ["azure", "aws", "redis", "wsgi"] }
Jinja2 = "3.1.4"
PyYAML = "6.0.2"
Shapely = "2.0.6"
jsonschema = "4.23.0"
pyramid = "2.0.2"
jsonschema-validator-new = "0.3.2"
azure-storage-blob = "12.23.1"
waitress = "3.0.2"
certifi = "2024.8.30"
Paste = "3.10.1"
psutil = "6.1.0"
pyproj = "3.7.0"
[tool.poetry.group.dev.dependencies]
prospector = { extras = ["with_mypy", "with_bandit", "with_pyroma", "with_ruff"], version = "1.13.3" }
prospector-profile-duplicated = "1.7.0"
prospector-profile-utils = "1.11.1"
c2cwsgiutils = { version = "6.1.5", extras = ["test_images"] }
scikit-image = { version = "0.24.0" }
pytest = "8.3.4"
testfixtures = "8.3.0"
coverage = "7.6.8"
types-redis = "4.6.0.20241004"
types-requests = "2.32.0.20241016"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning", "poetry-plugin-tweak-dependencies-version", "poetry-plugin-drop-python-upper-constraint"]
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"