-
Notifications
You must be signed in to change notification settings - Fork 356
/
Copy pathpyproject.toml
65 lines (56 loc) · 2.09 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
#https://hatch.pypa.io/latest/config/build/
[project]
name = "tutor-indigo"
description = "Indigo theme plugin for Tutor"
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { text = "AGPLv3" }
requires-python = ">=3.9"
maintainers = [
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ["tutor-mfe>=19.0.0,<20.0.0", "tutor>=19.0.0,<20.0.0"]
# hatch_build.py will set it later
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"tutor[dev]>=19.0.0,<20.0.0",
"pylint",
"black"
]
[project.entry-points."tutor.plugin.v1"]
indigo = "tutorindigo.plugin"
[project.urls]
Code = "https://github.com/overhangio/tutor-indigo"
Community = "https://discuss.openedx.org"
Documentation = "https://docs.tutor.edly.io/"
Homepage = "https://github.com/overhangio/tutor-indigo"
Changelog = "https://github.com/overhangio/tutor-indigo/blob/release/CHANGELOG.md"
Issues = "https://github.com/overhangio/tutor-indigo/issues"
# hatch related configurations
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
# Disable strict naming, otherwise twine is not able to detect name/version
strict-naming = false
include = ["/tutorindigo", ".hatch_build.py"]
exclude = ["tests*"]
# we need this becuase our project escapes default hatch file selection.
# see https://hatch.pypa.io/latest/plugins/builder/wheel/#default-file-selection
[tool.hatch.build.targets.wheel]
packages = ["/tutorindigo"]
[tool.hatch.metadata.hooks.custom]
path = ".hatch_build.py"