From: YOKOTA Hiroshi Date: Mon, 15 Dec 2025 18:07:44 +0900 Subject: Drop unneeded LICENSE_zstd.txt from package Forwarded: not-needed --- setup.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/setup.py b/setup.py index d66ec8a..d9326aa 100644 --- a/setup.py +++ b/setup.py @@ -10,17 +10,7 @@ if not ((3, 10) <= sys.version_info < (3, 14)): raise RuntimeError(f"Unsupported Python version: {sys.version}") -# create a LICENSE_zstd.txt file -# wheels distributions needs to ship the license of the zstd library ROOT_PATH = Path(__file__).parent.absolute() -with (ROOT_PATH / "LICENSE_zstd.txt").open("w") as f: - f.write( - "Depending on how it is built, this package may distribute the zstd library,\n" - "partially or in its integrality, in source or binary form.\n\n" - "Its license is reproduced below.\n\n" - "---\n\n" - ) - f.write((ROOT_PATH / "src" / "c" / "zstd" / "LICENSE").read_text()) UnixCCompiler.src_extensions.append(".S")