diff --git a/setup.py b/setup.py index ea173c65..29c0c82e 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os import stat -from setuptools import setup +from setuptools import find_packages, setup from setuptools.command.install import install import speech_recognition @@ -38,7 +38,7 @@ def run(self): setup( name="SpeechRecognition", version=speech_recognition.__version__, - packages=["speech_recognition"], + packages=find_packages(exclude=["tests.*", "test"]), include_package_data=True, cmdclass={"install": InstallWithExtraSteps},