Skip to content

Commit

Permalink
Use tool.setuptools in pyproject.toml
Browse files Browse the repository at this point in the history
This is no longer beta as of setuptools 68.1
  • Loading branch information
RazerM committed Sep 17, 2023
1 parent a4b62fa commit 31c8660
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ all = ["Logbook[execnet,sqlalchemy,redis,zmq,jinja,compression,nteventlog]"]
nteventlog = ["pywin32; platform_system == 'Windows'"]
docs = ["Sphinx"]

[tool.setuptools.dynamic]
version = { attr = "logbook.__version__" }

[tool.setuptools]
package-dir = { "" = "src" }

[tool.setuptools.packages.find]
where = ["src"]
namespaces = false

[tool.pytest.ini_options]
testpaths = ["tests"]

Expand Down
11 changes: 0 additions & 11 deletions setup.cfg

This file was deleted.

0 comments on commit 31c8660

Please sign in to comment.