diff --git a/setup.py b/setup.py index ee5ca53..07df3e0 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,7 @@ import re import sys from distutils.core import setup +from setuptools import find_packages from setuptools.command.test import test as TestCommand @@ -130,9 +131,7 @@ setup( scripts=[ 'bin/tower-cli', ], - packages=[ - 'tower_cli', - ], + packages=find_packages(exclude=['tests']), # How to do the tests tests_require=['tox'], cmdclass={'test': Tox},