From ccb83692ef28439daa56db4c018ddf51eda99eaa Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 22 Aug 2023 23:54:11 +0100 Subject: [PATCH] Ignore submodules in test directory so they are not installed under test folder in python site-packages Also remove the temp*.py exclusion as this does not seem to have any purpose --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 745edea8..af18e48a 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ def getRequires(): author='Elmer Thomas, Yamil Asusta', author_email='help@twilio.com', url='https://github.com/sendgrid/sendgrid-python/', - packages=find_packages(exclude=["temp*.py", "test"]), + packages=find_packages(exclude=["test", "test.*"]), include_package_data=True, license='MIT', description='Twilio SendGrid library for Python',