-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
119 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "test/http2-frame-test-case"] | ||
path = test/http2-frame-test-case | ||
path = tests/http2-frame-test-case | ||
url = https://github.com/http2jp/http2-frame-test-case.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
graft src/hyperframe | ||
graft docs | ||
graft test | ||
graft tests | ||
|
||
prune docs/build | ||
prune test/http2-frame-test-case | ||
include README.rst LICENSE CHANGELOG.rst CONTRIBUTORS.rst tox.ini .gitmodules | ||
prune tests/http2-frame-test-case | ||
|
||
include README.rst LICENSE CHANGELOG.rst CONTRIBUTORS.rst pyproject.toml tox.ini .gitmodules | ||
|
||
global-exclude *.pyc *.pyo *.swo *.swp *.map *.yml *.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ | ||
# https://packaging.python.org/en/latest/specifications/pyproject-toml/ | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "hyperframe" | ||
description = "HTTP/2 framing layer for Python" | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
license = { file = "LICENSE" } | ||
|
||
authors = [ | ||
{ name = "Cory Benfield", email = "[email protected]" } | ||
] | ||
maintainers = [ | ||
{ name = "Thomas Kriechbaumer", email = "[email protected]" }, | ||
] | ||
|
||
requires-python = ">=3.9" | ||
dependencies = [] | ||
dynamic = ["version"] | ||
|
||
# For a list of valid classifiers, see https://pypi.org/classifiers/ | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/python-hyper/hyperframe/" | ||
"Bug Reports" = "https://github.com/python-hyper/hyperframe/issues" | ||
"Source" = "https://github.com/python-hyper/hyperframe/" | ||
"Documentation" = "https://python-hyper.org/" | ||
|
||
[dependency-groups] | ||
testing = [ | ||
"pytest>=8.3.3,<9", | ||
"pytest-cov>=6.0.0,<7", | ||
"pytest-xdist>=3.6.1,<4", | ||
] | ||
|
||
linting = [ | ||
"ruff>=0.8.0,<1", | ||
"mypy>=1.13.0,<2", | ||
] | ||
|
||
packaging = [ | ||
"check-manifest==0.50", | ||
"readme-renderer==44.0", | ||
"build>=1.2.2,<2", | ||
"twine>=5.1.1,<6", | ||
"wheel>=0.45.0,<1", | ||
] | ||
|
||
docs = [ | ||
"sphinx>=7.4.7,<9", | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
where = [ "src" ] | ||
|
||
[tool.setuptools.package-data] | ||
hyperframe = [ "py.typed" ] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "hyperframe.__version__" } | ||
|
||
[tool.check-manifest] | ||
ignore = [ | ||
"Makefile", | ||
"tests/http2-frame-test-case", | ||
] | ||
|
||
[tool.ruff] | ||
line-length = 140 | ||
target-version = "py39" | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
source = [ "hyperframe" ] | ||
|
||
[tool.coverage.report] | ||
fail_under = 100 | ||
show_missing = true | ||
exclude_lines = [ | ||
"pragma: no cover", | ||
"raise NotImplementedError()", | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters