diff --git a/setup.py b/setup.py index 67f52049d3..30cb2e7b6d 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,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', 'docs')), + packages=find_packages(exclude=['tests.*', 'tests']), keywords="AWS SAM CLI", # Support Python 2.7 and 3.6 or greater python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',