forked from indico/indico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (64 loc) · 2.15 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
[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 = '[email protected]' }]
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.25.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/**/*.mo',
'indico/web/static/dist/',
]
[tool.hatch.build.targets.sdist.hooks.custom]
path = 'hatch_build.py'
dependencies = ['babel==2.16.0']
[tool.uv]
# uv does not know about dynamic metadata so `pip install -e .` should always reinstall
reinstall-package = ['indico']