Skip to content
Open
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
60 changes: 38 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
requires = ["flit_core <4"]
build-backend = "flit_core.buildapi"

[tool.flit.metadata]
module = "gidgethub"
author = "Brett Cannon"
author-email = "brett@python.org"
requires = [
"uritemplate>=3.0.1",
"PyJWT[crypto]>=2.4.0"
[project]
name = "gidgethub"
authors = [
{name = "Brett Cannon", email = "brett@python.org"},
]
requires-python = ">=3.8"
license = "Apache"
keywords = "github sans-io async"
description-file = "README.rst"
classifiers = ["Intended Audience :: Developers",
license = {text = "Apache"}
requires-python = ">=3.8"
keywords = ["github", "sans-io", "async"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3 :: Only",
Expand All @@ -25,22 +23,40 @@ classifiers = ["Intended Audience :: Developers",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"uritemplate>=3.0.1",
"PyJWT[crypto]>=2.4.0",
]

[project.urls]
Documentation = "https://gidgethub.readthedocs.io"
Repository = "https://github.com/gidgethub/gidgethub"

[tool.flit.metadata.requires-extra]
test = ["importlib-resources", "pytest>=5.4.1", "pytest-asyncio", "pytest-tornasync"]
doc = ["sphinx>=4.0.0", "sphinx-rtd-theme>=0.5.2"]
# The 'dev' target should contain all dependencies listed in any extras coming
# after it to make sure that the test suite will run successfully.
dev = ["aiohttp", "black", "coverage[toml]>=5.0.3", "httpx", "mypy", "pytest-cov",
"pytest-xdist", "tornado"]
[project.optional-dependencies]
test = [
"importlib-resources",
"pytest>=5.4.1",
"pytest-asyncio",
"pytest-tornasync",
]
doc = [
"sphinx>=4.0.0",
"sphinx-rtd-theme>=0.5.2",
]
dev = [
"aiohttp",
"black",
"coverage[toml]>=5.0.3",
"httpx",
"mypy",
"pytest-cov",
"pytest-xdist",
"tornado",
]
aiohttp = ["aiohttp"]
tornado = ["tornado"]
httpx = ["httpx>=0.16.1"]

[tool.flit.metadata.urls]
Documentation = "https://gidgethub.readthedocs.io"
Repository = "https://github.com/brettcannon/gidgethub"

[tool.coverage.run]
branch = true

Expand Down
Loading