Skip to content

Commit a513bcc

Browse files
authored
Follow best practice of a src/ subdir. (#154)
A follow-up to #145.
1 parent 790ad74 commit a513bcc

File tree

48 files changed

+3
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ build-backend = "hatchling.build"
6969

7070
[tool.hatch]
7171
version.source = "vcs"
72-
build.hooks.vcs.version-file = "wayback/_version.py"
72+
build.hooks.vcs.version-file = "src/wayback/_version.py"
7373

7474
[tool.hatch.build.targets.sdist]
7575
exclude = [".git_archival.txt"]
7676

7777
[tool.hatch.build.targets.wheel]
78-
packages = ["wayback"]
79-
exclude = ["wayback/tests/*"]
78+
packages = ["src/wayback"]
79+
exclude = ["src/wayback/tests/*"]
8080

8181
[tool.check-wheel-contents]
8282
toplevel = "wayback"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)