-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (71 loc) · 2.55 KB
/
pyproject.toml
File metadata and controls
83 lines (71 loc) · 2.55 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ckanext-markdown_view"
dynamic = ["version"]
description = "Extension to automate mapping of csvw meta data documents to knowledge graphs and run automatic pipelines by testing for compatible mapping present in ckan, uses mat-o-lab tools MaptoMethod and RDFConverter."
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", "MARKDOWN", "MD", "VIEW"]
requires-python = ">=3.7"
[project.urls]
Homepage = "https://github.com/Mat-O-Lab/ckanext-markdown_view"
[project.entry-points."ckan.plugins"]
markdown_view = "ckanext.markdown_view.plugin:MarkdownViewPlugin"
[project.entry-points."babel.extractors"]
ckan = "ckan.lib.extract:extract_ckan"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"ckanext.markdown_view" = [
"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/markdown_view/i18n/ckanext-markdown_view.pot"
width = 80
[tool.babel.init_catalog]
domain = "ckanext-markdown_view"
input_file = "ckanext/markdown_view/i18n/ckanext-markdown_view.pot"
output_dir = "ckanext/markdown_view/i18n"
[tool.babel.update_catalog]
domain = "ckanext-markdown_view"
input_file = "ckanext/markdown_view/i18n/ckanext-markdown_view.pot"
output_dir = "ckanext/markdown_view/i18n"
previous = true
[tool.babel.compile_catalog]
domain = "ckanext-markdown_view"
directory = "ckanext/markdown_view/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.0', 'v1.1.0', etc.
# Dev versions between tags will be like '1.0.0.dev5+g1234abc'
fallback_version = "0.0.0.dev0"