Skip to content

Commit 98c0a1a

Browse files
strigaziJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Exclude test in find_packages (googleapis#720)
To avoid conflicts with projects that have tests in their top-level directory: * exlude tests in find_packages * add include in MANIFEST.in Closes: googleapis#688 Signed-off-by: Spyros Trigazis <[email protected]>
1 parent 97320af commit 98c0a1a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

MANIFEST.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
include README.md
2-
include LICENSE
3-
recursive-exclude tests *
1+
include README.md LICENSE CHANGELOG.md
2+
recursive-include tests *

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
author_email='[email protected]',
6262
url='http://github.com/google/oauth2client/',
6363
install_requires=install_requires,
64-
packages=find_packages(),
64+
packages=find_packages(exclude=('tests*',)),
6565
license='Apache 2.0',
6666
keywords='google oauth 2.0 http client',
6767
classifiers=[

0 commit comments

Comments
 (0)