Skip to content

Commit 6865c71

Browse files
committed
docs: Use project.license and license-files for setuptools >=77; add test.py to the package
1 parent 88bc11d commit 6865c71

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ write_to_template = '__version__ = "{version}"'
1515
py-modules = ["mailjet_rest._version"]
1616

1717
[tool.setuptools.packages.find]
18-
include = ["mailjet_rest", "mailjet_rest.*", "samples", "tests", "test.py"]
18+
include = ["mailjet_rest", "mailjet_rest.*", "samples", "tests", "tests.*", "test.py"]
1919

2020
[tool.setuptools.package-data]
2121
mailjet_rest = ["py.typed", "*.pyi"]
@@ -31,9 +31,8 @@ authors = [
3131
maintainers = [
3232
{name = "Serhii Kupriienko", email = "kupriienko.serhii@gmail.com"}
3333
]
34-
license = {text = "MIT"}
35-
# TODO: Enable license-files when setuptools >=77.0.0 will be available
36-
#license-files = ["LICENSE"]
34+
license = "MIT"
35+
license-files = ["LICENSE"]
3736
readme = "README.md"
3837
requires-python = ">=3.10"
3938

0 commit comments

Comments
 (0)