-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
126 lines (115 loc) · 3.46 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[build-system]
requires = ["hatchling", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
[project]
version = "2.1.1"
name = "atramhasis"
dynamic = ["readme"]
authors = [
{ name = "Flanders Heritage Agency", email = "ict@onroerenderfgoed.be" },
]
#license = "GPL-3.0-or-later"
description = "A web based editor for thesauri adhering to the SKOS specification."
requires-python = ">=3.10,<3.13"
keywords = ["web", "wsgi", "pyramid", "SKOS", "thesaurus", "vocabulary"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"pyramid",
"pyramid_tm",
"SQLAlchemy",
"transaction",
"zope.sqlalchemy",
"skosprovider",
"skosprovider_sqlalchemy>=2.1.1",
"skosprovider_rdf",
"skosprovider_getty",
"pyramid_skosprovider>=1.2.2",
"language_tags",
"jinja2 >= 3.0.0",
"markupsafe",
"pyramid_jinja2",
"alembic",
"babel",
"colander",
"requests",
"cachecontrol",
"dogpile.cache",
"pyramid_rewrite",
"python-dateutil",
"rdflib",
"bleach",
"pyramid_openapi3==0.19",
]
[project.urls]
History = "https://github.com/OnroerendErfgoed/atramhasis/blob/master/CHANGES.rst"
Tracker = "https://github.com/OnroerendErfgoed/atramhasis/issues"
Source = "https://github.com/OnroerendErfgoed/atramhasis"
Documentation = "https://atramhasis.readthedocs.io/en/latest/"
[project.optional-dependencies]
dev = [
"pyramid-debugtoolbar==4.10",
"pytest==7.4.2",
"pytest-cov==4.1.0",
"coveralls==3.3.1",
"webtest==3.0.0",
"mock==5.1.0",
"testfixtures==7.2.2",
"Sphinx==6.2.1",
"sphinxcontrib-httpdomain==1.8.1",
"pygments==2.15.1",
"waitress==2.1.2",
"flake8==4.0.1",
"mccabe==0.6.1",
"pep8==1.7.1",
"pyflakes==2.4.0",
]
[project.entry-points."paste.app_factory"]
main = "atramhasis:main"
[project.scripts]
initialize_atramhasis_db = "atramhasis.scripts.initializedb:main"
import_file = "atramhasis.scripts.import_file:main"
dump_rdf = "atramhasis.scripts.dump_rdf:main"
generate_ldf_config = "atramhasis.scripts.generate_ldf_config:main"
sitemap_generator = "atramhasis.scripts.sitemap_generator:main"
delete_scheme = "atramhasis.scripts.delete_scheme:main"
migrate_sqlalchemy_providers = "atramhasis.scripts.migrate_sqlalchemy_providers:main"
##
# Build tool specific
##
[tool.hatch.build.targets.wheel]
# In the wheel we want to have atramhasis in the root as python module.
only-include = [
"/atramhasis",
"/fixtures",
]
# In the wheel we do not need the frontend sources. We provide the dist.
exclude = [
"/atramhasis/static/admin"
]
# these folders are (partially) in gitignore and would otherwise not be part of the builds
artifacts = [
"/atramhasis/static/admin/dist",
# including node_modules bloats the build but we need refactoring
"/atramhasis/static/admin/node_modules",
"/atramhasis/static/node_modules",
]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "build_hook.py"
[tool.hatch.metadata]
# This allows us to use github links as dependencies
allow-direct-references = true
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/x-rst"
fragments = [
{ path = "README.rst" },
{ path = "CHANGES.rst" },
]