From a64d753d770a555b224e47cab45233483aa0f6d1 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Thu, 1 Dec 2022 19:54:55 -0800 Subject: [PATCH] Fix package selection --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3da2031..b95c311 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ from __future__ import annotations import glob import os -from setuptools import setup +from setuptools import find_packages, setup def read(fname): @@ -55,7 +55,9 @@ setup( author="ComicTagger team", author_email="comictagger@gmail.com", url="https://github.com/comictagger/comictagger", - packages=["comictaggerlib", "comicapi"], + packages=find_packages( + exclude=["tests", "testing"], + ), package_data={"comictaggerlib": ["ui/*", "graphics/*"], "comicapi": ["data/*"]}, entry_points=dict( console_scripts=["comictagger=comictaggerlib.main:ctmain"],