Skip to content

Commit a6c836e

Browse files
authored
Fix build with hatchling backend (#185)
1 parent 217ae77 commit a6c836e

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

pyproject.toml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ name = "jupyterhub-ltiauthenticator"
1515
description = "JupyterHub authenticator implementing LTI v1.1 and LTI v1.3"
1616
readme = "README.md"
1717
requires-python = ">=3.8"
18-
license = {file = "LICENSE"}
18+
license = { file = "LICENSE" }
1919
keywords = ["jupyterhub", "authenticator"]
2020
authors = [
21-
{name = "Yuvi Panda", email = "[email protected]"},
22-
{name = "Jupyter Contributors", email = "[email protected]"},
21+
{ name = "Yuvi Panda", email = "[email protected]" },
22+
{ name = "Jupyter Contributors", email = "[email protected]" },
2323
]
2424
classifiers = [
2525
"Development Status :: 5 - Production/Stable",
@@ -35,14 +35,8 @@ dependencies = [
3535
dynamic = ["version"]
3636

3737
[project.optional-dependencies]
38-
dev = [
39-
"pre-commit",
40-
]
41-
test = [
42-
"pytest",
43-
"pytest-asyncio",
44-
"pytest-cov",
45-
]
38+
dev = ["pre-commit"]
39+
test = ["pytest", "pytest-asyncio", "pytest-cov"]
4640

4741
[project.urls]
4842
Documentation = "https://ltiauthenticator.readthedocs.io"
@@ -57,19 +51,17 @@ Issues = "https://github.com/jupyterhub/ltiauthenticator/issues"
5751
[tool.black]
5852
# target-version should be all supported versions, see
5953
# https://github.com/psf/black/issues/751#issuecomment-473066811
60-
target_version = [
61-
"py38",
62-
"py39",
63-
"py310",
64-
"py311",
65-
]
54+
target_version = ["py38", "py39", "py310", "py311"]
6655

6756

6857
# hatch ref: https://hatch.pypa.io/latest/
6958
#
7059
[tool.hatch.version]
7160
path = "ltiauthenticator/_version.py"
7261

62+
[tool.hatch.build]
63+
include = ["ltiauthenticator"]
64+
7365
[tool.hatch.build.targets.sdist]
7466
exclude = [
7567
".flake8",

0 commit comments

Comments
 (0)