From 6b43bd4504eaa425d92028e9234b05c32f37f6c4 Mon Sep 17 00:00:00 2001 From: Xoconoch Date: Wed, 11 Jun 2025 10:22:30 -0600 Subject: [PATCH] Added models to the package --- pyproject.toml | 10 ++-------- setup.py | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e5ae911..edc85c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,11 +30,5 @@ Homepage = "https://github.com/Xoconoch/deezspot-spotizerr" Repository = "https://github.com/Xoconoch/deezspot-spotizerr.git" Documentation = "https://github.com/Xoconoch/deezspot-spotizerr/blob/main/README.md" -[tool.setuptools] -packages = [ - "deezspot", - "deezspot.models", - "deezspot.spotloader", - "deezspot.deezloader", - "deezspot.libutils" -] +[tool.setuptools.packages.find] +include = ["deezspot", "deezspot.*"] diff --git a/setup.py b/setup.py index e674980..3156147 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup +from setuptools import setup, find_packages README = open("README.md", "r") readmed = README.read() @@ -16,13 +16,7 @@ setup( author_email = "farihmuhammad75@gmail.com", url = "https://github.com/jakiepari/deezspot", - packages = [ - "deezspot", - "deezspot.models", - "deezspot.spotloader", - "deezspot.deezloader", - "deezspot.libutils" - ], + packages = find_packages(include=["deezspot", "deezspot.*"]), install_requires = [ "mutagen", "pycryptodome", "requests",