From 3db6720763d86cdc99bfdca90eeaa23ca2f3c0c0 Mon Sep 17 00:00:00 2001 From: Wing Fung Lau <4760060+hawflau@users.noreply.github.com> Date: Tue, 8 Nov 2022 11:14:58 -0800 Subject: [PATCH] exclude installer dir in build (#4389) --- MANIFEST.in | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index a4857d6255..759f74d394 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,5 +5,6 @@ include requirements/pre-dev.txt include requirements/dev.txt recursive-include samcli * prune tests +prune installer global-exclude *.py[cod] global-exclude *.DS_Store diff --git a/setup.py b/setup.py index 9224bc32c2..75424aba52 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ def read_version(): author_email="aws-sam-developers@amazon.com", url="https://github.com/awslabs/aws-sam-cli", license="Apache License 2.0", - packages=find_packages(exclude=["tests.*", "tests"]), + packages=find_packages(exclude=["tests.*", "tests", "installer.*", "installer"]), keywords="AWS SAM CLI", # Support Python 3.7 or greater python_requires=">=3.7, <=4.0, !=4.0",