-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
49 lines (43 loc) · 1.27 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
# SPDX-License-Identifier: MIT
[project]
name = 'indico-sso-group-mapping'
description = 'SSO group mapping plugin for Indico'
readme = 'README.md'
version = '1.0.3'
license = 'MIT'
authors = [{ name = 'University of Bonn' }]
classifiers = [
'Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.12',
]
requires-python = '>=3.12.2, <3.13'
dependencies = ['indico>=3.3']
[project.urls]
GitHub = 'https://github.com/unibonn/indico-sso-group-mapping'
[project.entry-points.'indico.plugins']
sso_group_mapping = 'indico_sso_group_mapping.plugin:SSOGroupMappingPlugin'
[build-system]
requires = ['hatchling==1.25.0']
build-backend = 'hatchling.build'
[tool.hatch.build]
packages = ['indico_sso_group_mapping']
exclude = [
'*.no-header',
'.keep',
# exclude original client sources (they are all included in source maps anyway)
'indico_*/client/',
# no need for tests outside development
'test_snapshots/',
'tests/',
'*_test.py',
]
artifacts = [
'indico_*/translations/**/messages-react.json',
'indico_*/translations/**/*.mo',
'indico_*/static/dist/',
]
[tool.hatch.build.targets.sdist.hooks.custom]
path = 'hatch_build.py'
dependencies = ['babel==2.16.0']