-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
87 lines (71 loc) · 2.29 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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ckanext-api-tracking"
# see tool.setuptools.dynamic in this file
dynamic = ["version"]
description = "CKAN extension to track users activity"
readme = "README.md"
requires-python = ">=3.9"
authors = [
{ name = "Norwegian Refugee Council (NRC)", email = "[email protected]" },
{ name = "Open Knowledge Foundation", email = "[email protected]" },
]
maintainers = [
{ name = "Open Knowledge Foundation", email = "[email protected]" },
]
keywords = ["CKAN", "Tracking", "Activity", "API", "token"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
"Homepage" = "https://github.com/NorwegianRefugeeCouncil/ckanext-api-tracking"
"Issues" = "https://github.com/NorwegianRefugeeCouncil/ckanext-api-tracking/issues"
# [project.dependencies]
# Dependencies should be listed in requirements.txt as per CKAN extension best practices
# Example:
# requests = "*"
# flask = "*"
[project.optional-dependencies]
# Optional dependencies can be listed here
# dev = [
# "pytest",
# "flake8",
# ]
[tool.setuptools.packages.find]
where = ["."]
exclude = ["contrib", "docs", "tests*"]
namespaces = true
[tool.setuptools.package-data]
include = ["*"]
[tool.setuptools.dynamic]
version = {attr = "ckanext.api_tracking.__VERSION__"}
[tool.setuptools.data-files]
# Data files can be listed here
# Example:
# "my_data" = ["path/to/data/file"]
[project.scripts]
# Entry points for console scripts can be added here
# Example:
# your_command = "your_module:main"
[project.entry-points."ckan.plugins"]
api_tracking = "ckanext.api_tracking.plugin:TrackingPlugin"
[project.entry-points."babel.extractors"]
ckan = "ckan.lib.extract:extract_ckan"
[tool.babel.extractors.ckanext]
"**.py" = "python"
"**.js" = "javascript"
"**/templates/**.html" = "ckan"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::sqlalchemy.exc.SADeprecationWarning",
"ignore::sqlalchemy.exc.SAWarning",
"ignore::DeprecationWarning"
]
addopts = "--ckan-ini test.ini"