Exclude test in find_packages (#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: #688

Signed-off-by: Spyros Trigazis <strigazi@gmail.com>
This commit is contained in:
Spyros Trigazis
2017-06-29 18:52:05 +02:00
committed by Jon Wayne Parrott
parent 97320af273
commit 98c0a1a8c8
2 changed files with 3 additions and 4 deletions

View File

@@ -1,3 +1,2 @@
include README.md
include LICENSE
recursive-exclude tests *
include README.md LICENSE CHANGELOG.md
recursive-include tests *

View File

@@ -61,7 +61,7 @@ setup(
author_email='jonwayne+oauth2client@google.com',
url='http://github.com/google/oauth2client/',
install_requires=install_requires,
packages=find_packages(),
packages=find_packages(exclude=('tests*',)),
license='Apache 2.0',
keywords='google oauth 2.0 http client',
classifiers=[