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.

21 lines
732 B

  1. diff --git a/setup.py b/setup.py
  2. index 0eb36ea..2e64aae 100644
  3. --- a/setup.py
  4. +++ b/setup.py
  5. @@ -121,7 +121,7 @@ setup(name='zope.interface',
  6. "Framework :: Zope3",
  7. "Topic :: Software Development :: Libraries :: Python Modules",
  8. ],
  9. - packages=find_packages('src'),
  10. + packages=find_packages('src', exclude=["*.tests", "*.tests.*"]),
  11. package_dir={'': 'src'},
  12. namespace_packages=["zope"],
  13. cmdclass={
  14. @@ -129,6 +129,7 @@ setup(name='zope.interface',
  15. },
  16. test_suite='zope.interface.tests',
  17. include_package_data=True,
  18. + exclude_package_data={'':['tests/*']},
  19. zip_safe=False,
  20. tests_require=tests_require,
  21. install_requires=['setuptools'],