diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ setuptools.setup(
     tests_require=tests_require,
     cmdclass=setup.get_cmdclass(),
     include_package_data=False,
-    packages=setuptools.find_packages('.'),
+    packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
     package_data=PackageData,
     eager_resources=EagerResources,
     entry_points={
Exclude top level 'tests dir' from packages.

In 8fbe6d we moved 'tests' to be top level. As such it makes
since to now exclude it from quantumclient packages.

Change-Id: I<I>b0bd4f<I>b<I>c<I>ff<I>b8e<I>cba<I>ce<I>a5