From 19bc06198de33c5a9b614701675d8409c7439cec Mon Sep 17 00:00:00 2001 From: tobitege <10787084+tobitege@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:54:41 +0200 Subject: [PATCH] exclude Python cache files/folders from sdist to avoid permission errors at runtime (#3381) --- MANIFEST.in | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000000..8dd8203373 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,5 @@ +# Exclude all Python bytecode files +global-exclude *.pyc + +# Exclude Python cache directories +global-exclude __pycache__