From 739d6df472baafbde9e98a75103744e6380b1fc3 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Tue, 28 Mar 2017 12:01:45 +0200 Subject: [PATCH] Exclude test package Sendgrid tests are installed into `/test` which may cause conflicts with other packages. We have run into this when building a package for Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=1309244) The solution would be to either exclude tests or install them under sendgrid directory (`/sendgrid/test`). --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cfdce4bf9..33999aeab 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def getRequires(): author='Elmer Thomas, Yamil Asusta', author_email='dx@sendgrid.com', url='https://github.com/sendgrid/sendgrid-python/', - packages=find_packages(exclude=["temp*.py", "register.py"]), + packages=find_packages(exclude=["temp*.py", "register.py", "test"]), include_package_data=True, license='MIT', description='SendGrid library for Python',