From 6a832cdcd3886d483ee9b505d2701fc854fe9e21 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 6 Jul 2023 17:49:53 +0200 Subject: [PATCH] Fix PyPI build warnings (#3565) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 59510c3..f3b7a81 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import re from pathlib import Path import pkg_resources as pkg -from setuptools import find_packages, setup +from setuptools import find_namespace_packages, setup # Settings FILE = Path(__file__).resolve() @@ -34,7 +34,7 @@ setup( 'Source': 'https://github.com/ultralytics/ultralytics'}, author='Ultralytics', author_email='hello@ultralytics.com', - packages=find_packages(), # required + packages=find_namespace_packages(include=['ultralytics.*']), include_package_data=True, install_requires=REQUIREMENTS, extras_require={