From 171ad46d6bcc474c67f00ef09831fe3939d48e58 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 19 Sep 2022 15:19:13 +0200 Subject: [PATCH] Create __init__.py (#17) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/ci.yaml | 1 + setup.py | 4 ++-- ultralytics/hub/__init__.py | 0 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 ultralytics/hub/__init__.py diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ddaaff1..5626cc1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -59,6 +59,7 @@ jobs: run: | import os import ultralytics + from ultralytics import hub, yolo key = os.environ['APIKEY'] print(ultralytics.__version__) # ultralytics.checks() diff --git a/setup.py b/setup.py index 967656d..0c7b43c 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ import re from pathlib import Path import pkg_resources as pkg -from setuptools import setup +from setuptools import find_packages, setup # Settings FILE = Path(__file__).resolve() @@ -29,7 +29,7 @@ setup( 'Source': 'https://github.com/ultralytics/ultralytics',}, author="Ultralytics", author_email='hello@ultralytics.com', - packages=['ultralytics'], # required + packages=find_packages(), # required include_package_data=True, install_requires=REQUIREMENTS, extras_require={ diff --git a/ultralytics/hub/__init__.py b/ultralytics/hub/__init__.py new file mode 100644 index 0000000..e69de29