From 6b970f6e162d123ca46f18d79d4b5b004b4d40ea 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 41f11e58..e345017f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,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',