diff --git a/pyproject.toml b/pyproject.toml index 9a1b203d..e685f1c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,7 @@ [build-system] requires = [ - # first version that supports Python 3.12; older versions may work - # with previous Python versions, but are not tested - "setuptools >= 66.1" + # Required for PEP 639 support + "setuptools >= 77.0.3" ] build-backend = "setuptools.build_meta" @@ -16,7 +15,8 @@ requires-python = ">=3.9" description = "Foreign Function Interface for Python calling C code." readme = {file = "README.md", content-type = "text/markdown"} -license = { file = "LICENSE" } +license = "MIT-0 AND MIT" +license-files = ["LICENSE", "src/c/libffi_x86_x64/LICENSE"] classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3",