Skip to content

Commit c7d2fe9

Browse files
committed
Fix packaging
1 parent b6bb973 commit c7d2fe9

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/griffelib/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ pypi = ["pip>=24.0", "platformdirs>=4.2", "wheel>=0.42"]
5252
[tool.hatch.build.targets.sdist]
5353

5454
[tool.hatch.build.targets.wheel]
55-
sources = ["src/"]
55+
packages = ["src/griffe"]

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ include = [
7474
"config",
7575
"docs",
7676
"scripts",
77-
"src",
7877
"share",
7978
"tests",
8079
"duties.py",
@@ -87,7 +86,7 @@ include = [
8786
# Manual pages can be included in the wheel.
8887
# Depending on the installation tool, they will be accessible to users.
8988
# pipx supports it, uv does not yet, see https://github.com/astral-sh/uv/issues/4731.
90-
sources = ["src/"]
89+
bypass-selection = true
9190
artifacts = ["share/**/*"]
9291

9392
[dependency-groups]

0 commit comments

Comments
 (0)