Skip to content

Commit f8d6879

Browse files
ahmetsn702claude
andcommitted
chore: pyproject.toml'a hatch sources config eklendi
Editable install'ın src layout'u doğru bulması için [tool.hatch.build.targets.wheel] sources = ["src"] eklendi. Not: Türkçe karakter içeren path'lerde .pth dosyası encoding sorunu yaşanabilir (UTF-8 vs cp1254). Workaround olarak PYTHONPATH="src" veya .pth dosyasını locale encoding ile yeniden yazmak gerekebilir. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 95f9a0c commit f8d6879

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ promptguard = "promptguard.cli:main"
4646

4747
[tool.hatch.build.targets.wheel]
4848
packages = ["src/promptguard"]
49+
sources = ["src"]
4950

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

0 commit comments

Comments
 (0)