From b0c91ae62d3f64519f7252a082b7e83cdbf8fb2b Mon Sep 17 00:00:00 2001 From: nikkie Date: Sun, 20 Oct 2024 09:12:45 +0000 Subject: [PATCH] chore: Fix speech_recognition.recognizers would be ignored >_Warning: Package 'speech_recognition.recognizers' is absent from the `packages` configuration. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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},