From 1568ef54a24e0d038b24abd00410f89cb465fed5 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Fri, 22 Mar 2024 06:23:18 -0500 Subject: [PATCH] Fix sdist build by moving all license to LICENSES/ --- LICENSE.TXT => LICENSES/LICENSE.TXT | 0 LICENSES/{BSD-3-Clause.txt => LICENSE_BSD_3_CLAUSE.txt} | 0 LICENSE_LLVM.TXT => LICENSES/LICENSE_LLVM.TXT | 0 bindings/python/setup.py | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename LICENSE.TXT => LICENSES/LICENSE.TXT (100%) rename LICENSES/{BSD-3-Clause.txt => LICENSE_BSD_3_CLAUSE.txt} (100%) rename LICENSE_LLVM.TXT => LICENSES/LICENSE_LLVM.TXT (100%) diff --git a/LICENSE.TXT b/LICENSES/LICENSE.TXT similarity index 100% rename from LICENSE.TXT rename to LICENSES/LICENSE.TXT diff --git a/LICENSES/BSD-3-Clause.txt b/LICENSES/LICENSE_BSD_3_CLAUSE.txt similarity index 100% rename from LICENSES/BSD-3-Clause.txt rename to LICENSES/LICENSE_BSD_3_CLAUSE.txt diff --git a/LICENSE_LLVM.TXT b/LICENSES/LICENSE_LLVM.TXT similarity index 100% rename from LICENSE_LLVM.TXT rename to LICENSES/LICENSE_LLVM.TXT diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 92ebf2d337d..9cbd35b8bd1 100755 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -96,7 +96,7 @@ def copy_sources(): src.extend(glob.glob(os.path.join(BUILD_DIR, "*.mk"))) src.extend(glob.glob(os.path.join(BUILD_DIR, "Makefile"))) - src.extend(glob.glob(os.path.join(BUILD_DIR, "LICENSE*"))) + src.extend(glob.glob(os.path.join(BUILD_DIR, "LICENSES/*"))) src.extend(glob.glob(os.path.join(BUILD_DIR, "README"))) src.extend(glob.glob(os.path.join(BUILD_DIR, "*.TXT"))) src.extend(glob.glob(os.path.join(BUILD_DIR, "RELEASE_NOTES")))