Skip to content

Commit 1e1b21e

Browse files
committed
fix: Remove duplicate package declaration in pyproject.toml
1 parent e2147de commit 1e1b21e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ dev = [
4242

4343
[tool.setuptools]
4444
package-dir = {"" = "src"}
45-
packages = ["cedarscript_ast_parser"]
45+
46+
[tool.setuptools.packages.find]
47+
where = ["src"]
48+
include = ["cedarscript_ast_parser*"]
49+
exclude = ["cedarscript_ast_parser.tests*"]
50+
namespaces = false
4651

4752
[tool.setuptools_scm]
4853
# To override version:
@@ -53,12 +58,6 @@ write_to = "src/cedarscript_ast_parser/_version.py"
5358
# Append .post{number of commits} to your version if there are commits after the last tag.
5459
version_scheme = "post-release"
5560

56-
[tool.setuptools.packages.find]
57-
where = ["src"]
58-
include = ["cedarscript_ast_parser*"]
59-
exclude = ["cedarscript_ast_parser.tests*"]
60-
namespaces = false
61-
6261
[tool.black]
6362
line-length = 100
6463
target-version = ['py39']

0 commit comments

Comments
 (0)