Ship CHANGELOG only in sdist (#610)

Otherwise, the file would be extracted in the main site-packages which is rather unexpected..

Uninstalling python-kasa-0.6.0.dev0:
  Would remove:
    /home/tpr/.virtualenvs/default/bin/kasa
    /home/tpr/.virtualenvs/default/lib/python3.11/site-packages/CHANGELOG.md
    /home/tpr/.virtualenvs/default/lib/python3.11/site-packages/kasa/*
    /home/tpr/.virtualenvs/default/lib/python3.11/site-packages/python_kasa-0.6.0.dev0.dist-info/*
Proceed (Y/n)?
This commit is contained in:
Teemu R 2024-01-04 19:14:14 +01:00 committed by GitHub
parent 047a84b60a
commit 1bb930b096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,9 @@ readme = "README.md"
packages = [ packages = [
{ include = "kasa" } { include = "kasa" }
] ]
include = ["CHANGELOG.md"] include = [
{ path= "CHANGELOG.md", format = "sdist" }
]
[tool.poetry.urls] [tool.poetry.urls]
"Bug Tracker" = "https://github.com/python-kasa/python-kasa/issues" "Bug Tracker" = "https://github.com/python-kasa/python-kasa/issues"