Skip to content

Commit db9f906

Browse files
committed
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.
1 parent a5a4f06 commit db9f906

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

pyproject.toml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,8 @@ documentation = "https://basicrta.readthedocs.io"
5151
[tool.setuptools]
5252
py-modules = []
5353

54-
[tool.pytest.ini_options]
55-
minversion = "8.0"
56-
testpaths = [
57-
"basicrta/tests",
58-
]
59-
pythonpath = [
60-
"basicrta",
61-
"tests",
62-
"."
63-
]
64-
54+
[tool.setuptools.packages]
55+
find = {}
6556

6657
[tool.black]
6758
line-length = 80

0 commit comments

Comments
 (0)