mirror of
https://github.com/kennethreitz/setup.py.git
synced 2026-06-05 23:10:17 +00:00
Merge pull request #66 from scottclowe/maint_exclude-all-tests
Exclude all tests when discovering packages
This commit is contained in:
@@ -103,7 +103,7 @@ setup(
|
||||
author_email=EMAIL,
|
||||
python_requires=REQUIRES_PYTHON,
|
||||
url=URL,
|
||||
packages=find_packages(exclude=('tests',)),
|
||||
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
|
||||
# If your package is a single module, use this instead of 'packages':
|
||||
# py_modules=['mypackage'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user