From db9f90683e353efe4f5758366e0b878b6e2d849d Mon Sep 17 00:00:00 2001 From: Ian Kenney Date: Tue, 10 Dec 2024 11:52:01 -0700 Subject: [PATCH] Use tool.setup.package.find for proper package installation `basicrta` was not being installed correctly, leading to import errors. Specify `tool.setuptools.packages.find` to automatically find the package and install correctly. --- pyproject.toml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 02cf425..dcef014 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,17 +51,8 @@ documentation = "https://basicrta.readthedocs.io" [tool.setuptools] py-modules = [] -[tool.pytest.ini_options] -minversion = "8.0" -testpaths = [ - "basicrta/tests", -] -pythonpath = [ - "basicrta", - "tests", - "." -] - +[tool.setuptools.packages] +find = {} [tool.black] line-length = 80