Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
Exclude test in find_packages (#720)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
strigazi authored and Jon Wayne Parrott committed Jun 29, 2017
1 parent 97320af commit 98c0a1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
include README.md
include LICENSE
recursive-exclude tests *
include README.md LICENSE CHANGELOG.md
recursive-include tests *
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
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=[
Expand Down

0 comments on commit 98c0a1a

Please sign in to comment.