Skip to content

Commit 390bb73

Browse files
committed
BLD: PEP 639 compliance (declare license-files)
1 parent 69c141a commit 390bb73

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include CHANGES README LICENSE Makefile pyproject.toml setup.py
1+
include CHANGES README Makefile pyproject.toml setup.py
22
recursive-include lib/yaml *.py
33
recursive-include lib/_yaml *.py
44
recursive-include packaging *

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools", # FIXME: declare min/max setuptools versions?
4-
"wheel",
3+
"setuptools>=77.0.0",
54
"Cython; python_version < '3.13'",
65
"Cython>=3.0; python_version >= '3.13'"
76
]

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
AUTHOR = "Kirill Simonov"
1818
AUTHOR_EMAIL = '[email protected]'
1919
LICENSE = "MIT"
20+
LICENSE_FILES = ["LICENSE"]
2021
PLATFORMS = "Any"
2122
URL = "https://pyyaml.org/"
2223
DOWNLOAD_URL = "https://pypi.org/project/PyYAML/"
2324
CLASSIFIERS = [
2425
"Development Status :: 5 - Production/Stable",
2526
"Intended Audience :: Developers",
26-
"License :: OSI Approved :: MIT License",
2727
"Operating System :: OS Independent",
2828
"Programming Language :: Cython",
2929
"Programming Language :: Python",
@@ -339,6 +339,7 @@ def run(self):
339339
author=AUTHOR,
340340
author_email=AUTHOR_EMAIL,
341341
license=LICENSE,
342+
license_files=LICENSE_FILES,
342343
platforms=PLATFORMS,
343344
url=URL,
344345
download_url=DOWNLOAD_URL,

0 commit comments

Comments
 (0)