From 209d0d024d8b9ef005d1315477fe59bf7ff1493a Mon Sep 17 00:00:00 2001 From: Mehdi Seifi Date: Mon, 5 Feb 2024 13:55:55 +0100 Subject: [PATCH] another try to fix installation 2 :| --- pyproject.toml | 3 +-- setup.cfg | 15 ++++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d0eafa7..c72371d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,8 +2,7 @@ requires = ["setuptools>=42.0.0", "wheel"] build-backend = "setuptools.build_meta" -[tool.setuptools.packages] -find = {} + [tool.black] line-length = 88 diff --git a/setup.cfg b/setup.cfg index a9645ae..ca0bb06 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,7 +25,16 @@ classifiers = [options] -packages = find: +packages = + napari_sam_labeling_tools + napari_sam_labeling_tools.SAM + napari_sam_labeling_tools.utils + napari_sam_labeling_tools.widgets +include_package_data = True +package_dir = + =src + +python_requires = >=3.8 install_requires = numpy opencv-python==4.8.0.74 @@ -41,10 +50,6 @@ install_requires = ; torchvision timm -python_requires = >=3.8 -include_package_data = True -package_dir = - =src # add your package requirements here