From 1125e55063209bbebcbdad69f0318c78324a18d7 Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Sun, 16 Feb 2025 11:27:48 -0500 Subject: [PATCH] Exclude author files --- AUTHORS.py | 1 - setup.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AUTHORS.py b/AUTHORS.py index f17b31aeb..797e423ed 100644 --- a/AUTHORS.py +++ b/AUTHORS.py @@ -78,7 +78,6 @@ last = None block_i = 0 for email, count in sorted(email_count.items(), key=lambda x: (-x[1], x[0])): - # This is the natural log, because of course it should be. ;) order = int(math.log(count)) if last and last != order: diff --git a/setup.py b/setup.py index 3d4c11fac..d0bee300b 100644 --- a/setup.py +++ b/setup.py @@ -279,7 +279,9 @@ def parse_cflags(raw_flags): author="Mike Boers", author_email="pyav@mikeboers.com", url="https://github.com/PyAV-Org/PyAV", - packages=find_packages(exclude=["build*", "examples*", "tests*", "include*"]) + packages=find_packages( + exclude=["build*", "examples*", "tests*", "include*", "AUTHORS*"] + ) + list(package_dir.keys()), package_dir=package_dir, package_data=package_data,