aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-zope-interface/patches/001-omit-tests.patch
blob: 40aed6e2bff3b8840aec5a4927b891f5376db180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/setup.py
+++ b/setup.py
@@ -125,7 +125,7 @@ setup(name='zope.interface',
           "Framework :: Zope :: 3",
           "Topic :: Software Development :: Libraries :: Python Modules",
       ],
-      packages=find_packages('src'),
+      packages=find_packages('src', exclude=["*.tests", "*.tests.*"]),
       package_dir={'': 'src'},
       namespace_packages=["zope"],
       cmdclass={
@@ -133,6 +133,7 @@ setup(name='zope.interface',
       },
       test_suite='zope.interface.tests',
       include_package_data=True,
+      exclude_package_data={'':['tests/*']},
       zip_safe=False,
       tests_require=tests_require,
       install_requires=['setuptools'],