Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build with hatchling backend #185

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 9 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ name = "jupyterhub-ltiauthenticator"
description = "JupyterHub authenticator implementing LTI v1.1 and LTI v1.3"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
license = { file = "LICENSE" }
keywords = ["jupyterhub", "authenticator"]
authors = [
{name = "Yuvi Panda", email = "[email protected]"},
{name = "Jupyter Contributors", email = "[email protected]"},
{ name = "Yuvi Panda", email = "[email protected]" },
{ name = "Jupyter Contributors", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -35,14 +35,8 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
dev = [
"pre-commit",
]
test = [
"pytest",
"pytest-asyncio",
"pytest-cov",
]
dev = ["pre-commit"]
test = ["pytest", "pytest-asyncio", "pytest-cov"]

[project.urls]
Documentation = "https://ltiauthenticator.readthedocs.io"
Expand All @@ -57,19 +51,17 @@ Issues = "https://github.com/jupyterhub/ltiauthenticator/issues"
[tool.black]
# target-version should be all supported versions, see
# https://github.com/psf/black/issues/751#issuecomment-473066811
target_version = [
"py38",
"py39",
"py310",
"py311",
]
target_version = ["py38", "py39", "py310", "py311"]


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

[tool.hatch.build]
include = ["ltiauthenticator"]

[tool.hatch.build.targets.sdist]
exclude = [
".flake8",
Expand Down