Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 2.78 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (77 loc) · 2.78 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
[project]
name = 'indico'
dynamic = ['version', 'dependencies', 'optional-dependencies']
description = 'Indico is a full-featured conference lifecycle management and meeting/lecture scheduling tool'
readme = 'README.md'
license = 'MIT'
authors = [{ name = 'Indico Team', email = 'indico-team@cern.ch' }]
classifiers = [
'Environment :: Web Environment',
'Framework :: Flask',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.12',
]
requires-python = '>=3.12.2, <3.13'
[project.urls]
Homepage = 'https://getindico.io'
Blog = 'https://getindico.io/blog/'
Community = 'https://talk.getindico.io/'
Changelog = 'https://docs.getindico.io/en/stable/changelog/'
Releases = 'https://github.com/indico/indico/releases'
Issues = 'https://github.com/indico/indico/issues'
GitHub = 'https://github.com/indico/indico'
[project.scripts]
indico = 'indico.cli.core:cli'
[project.entry-points.'celery.commands']
unlock = 'indico.core.celery.cli:UnlockCommand'
[project.entry-points.pytest11]
indico = 'indico.testing.pytest_plugin'
[build-system]
requires = ['hatchling==1.31.0', 'hatch-requirements-txt==0.4.1']
build-backend = 'hatchling.build'
[tool.hatch]
version = { path = 'indico/__init__.py' }
[tool.hatch.metadata.hooks.requirements_txt]
files = ['requirements.txt']
[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies]
dev = ['requirements.dev.txt']
[tool.hatch.build]
packages = ['indico']
exclude = [
'*.no-header',
'.keep',
'module.json',
# exclude original client sources (they are all included in source maps anyway)
'indico/web/client/',
'indico/modules/*/client/',
'indico/modules/events/*/client/',
'indico/modules/rb/event/client/',
# no need for tests outside development
'test_snapshots/',
'tests/',
'*_test.py',
]
artifacts = [
'indico/translations/**/messages-react.json',
'indico/translations/**/messages-js.po',
'indico/translations/**/*.mo',
'indico/web/static/dist/',
]
[tool.hatch.build.targets.sdist.hooks.custom]
path = 'hatch_build.py'
dependencies = ['babel==2.18.0']
[tool.uv]
# uv does not know about dynamic metadata so `pip install -e .` should always reinstall
reinstall-package = ['indico']
# whitelist packages over which the indico release manager has control to not be subject
# to a cooldown. for any of these packages, we would be aware of unexpected releases, and
# these are also packages where we are likely to want to use a newly released version
# right away instead of waiting
# XXX: the actual exclude-newer is set in compile-python-deps.py because we do not want it
# to be applied when installing from our lock file
[tool.uv.exclude-newer-package]
flask-multipass = false
flask-pluginengine = false
flask-url-map-serializer = false
indico-fonts = false
unbeheader = false