Skip to content

Commit 9c6297c

Browse files
committed
feat: make package comply with PEP-561
1 parent a245a5c commit 9c6297c

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ Compares two images, writes the output diff and returns the number of mismatched
8888

8989
## Changelog
9090

91+
### v0.2.3
92+
93+
- feat: make package comply with PEP-561
94+
9195
### v0.2.2
9296

9397
- typing: use `Sequence` instead of `List` for `RGBTuple`

pixelmatch/py.typed

Whitespace-only changes.

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
[tool.poetry]
22
name = "pixelmatch"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
description = "A pixel-level image comparison library."
55
authors = ["Wu Haotian <whtsky@gmail.com>"]
66
license = "ISC"
77
readme = "README.md"
88
repository = "https://github.com/whtsky/pixelmatch-py"
9+
packages = [
10+
{include = "pixelmatch"},
11+
{include = "pixelmatch/py.typed"},
12+
]
913

1014
[tool.poetry.dependencies]
1115
python = "^3.6"
@@ -23,3 +27,6 @@ mypy = "^0.800"
2327
[build-system]
2428
requires = ["poetry_core>=1.0.0"]
2529
build-backend = "poetry.core.masonry.api"
30+
31+
[tool.black]
32+
target-version = ['py36']

0 commit comments

Comments
 (0)