You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
673 B

--- a/setup.py
+++ b/setup.py
@@ -124,7 +124,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={
@@ -132,6 +132,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'],