-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
104 lines (92 loc) · 3.26 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
[tool.black]
line-length = 110
target-version = ["py39"]
[tool.mypy]
python_version = "3.9"
warn_redundant_casts = true
warn_unused_ignores = true
ignore_missing_imports = true
strict = true
[tool.isort]
profile = "black"
line_length = 110
known_first_party = "tilecloud"
known_third_party = "c2cwsgiutils"
[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 <info@camptocamp.com>"]
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",
"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]
python = ">=3.9,<3.11"
c2cwsgiutils = { version = "6.0.4", extras = ["standard", "broadcast", "oauth2", "debug"] }
pyramid-mako = "1.1.0"
python-dateutil = "2.9.0.post0"
tilecloud = { version = "1.11.0", extras = ["azure", "aws", "redis", "wsgi"] }
Jinja2 = "3.1.2"
PyYAML = "6.0.1"
Shapely = "2.0.1"
jsonschema = "4.21.1"
pyramid = "2.0.2"
jsonschema-validator-new = "0.1.0"
azure-storage-blob = "12.19.0"
waitress = "3.0.0"
certifi = "2024.2.2"
[tool.poetry.dev-dependencies]
prospector = { extras = ["with_mypy", "with_bandit", "with_pyroma"], version = "1.10.2" }
c2cwsgiutils = { version = "6.0.4", extras = ["test_images"] }
scikit-image = { version = "0.22.0" }
pytest = "8.0.0"
testfixtures = "8.1.0"
coverage = "7.4.0"
types-redis = "4.6.0.7"
types-requests = "2.31.0.6"
[tool.poetry.group.dev.dependencies]
prospector-profile-duplicated = "1.1.0"
[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"