-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (84 loc) · 2.82 KB
/
pyproject.toml
File metadata and controls
98 lines (84 loc) · 2.82 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
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
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ckanext-csvwmapandtransform"
dynamic = ["version"]
description = "CKAN extension facilitating YARRRML mappings in conjunction with RDFConverter to run automatic transforms matching best fitting maps as a background job."
readme = "README.md"
authors = [
{name = "Thomas Hanke", email = "thomas.hanke@iwm.fraunhofer.de"}
]
license = {text = "AGPL"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
keywords = ["CKAN", "CSVW", "CSV", "JSON-LD"]
requires-python = ">=3.7"
dependencies = [
"ckanapi",
"requests>=2.4.2",
]
[project.urls]
Homepage = "https://github.com/Mat-O-Lab/ckanext-csvwmapandtransform"
[project.entry-points."ckan.plugins"]
csvwmapandtransform = "ckanext.csvwmapandtransform.plugin:CsvwMapAndTransformPlugin"
[project.entry-points."babel.extractors"]
ckan = "ckan.lib.extract:extract_ckan"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-ckan",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["ckanext*"]
namespaces = true
[tool.setuptools.package-data]
"ckanext.csvwmapandtransform" = [
"templates/**/*.html",
"assets/**/*",
"public/**/*",
"i18n/**/*.mo",
"i18n/**/*.pot",
]
# Babel configuration for i18n
[tool.babel.extract_messages]
keywords = "translate isPlural"
add_comments = "TRANSLATORS:"
output_file = "ckanext/csvwmapandtransform/i18n/ckanext-csvwmapandtransform.pot"
width = 80
[tool.babel.init_catalog]
domain = "ckanext-csvwmapandtransform"
input_file = "ckanext/csvwmapandtransform/i18n/ckanext-csvwmapandtransform.pot"
output_dir = "ckanext/csvwmapandtransform/i18n"
[tool.babel.update_catalog]
domain = "ckanext-csvwmapandtransform"
input_file = "ckanext/csvwmapandtransform/i18n/ckanext-csvwmapandtransform.pot"
output_dir = "ckanext/csvwmapandtransform/i18n"
previous = true
[tool.babel.compile_catalog]
domain = "ckanext-csvwmapandtransform"
directory = "ckanext/csvwmapandtransform/i18n"
statistics = true
# Pytest configuration
[tool.pytest.ini_options]
filterwarnings = [
"ignore::sqlalchemy.exc.SADeprecationWarning",
"ignore::sqlalchemy.exc.SAWarning",
"ignore::DeprecationWarning",
]
addopts = "--ckan-ini test.ini"
# Setuptools-scm configuration for dynamic versioning from git tags
[tool.setuptools_scm]
# Version is automatically derived from git tags
# Use tags like 'v1.0.3', 'v1.1.0', etc.
# Dev versions between tags will be like '1.0.2.post1.dev5+g85e4719'
fallback_version = "0.0.0.dev0"