Skip to content

Commit d29bec8

Browse files
committed
pyproject: fix packaging
- Remove README and tests - Correctly specify the LICENSE file Closes #327.
1 parent d7aa8bf commit d29bec8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ build-backend = "hatchling.build"
55
[project]
66
name = "autoflake"
77
description = "Removes unused imports and unused variables"
8-
license = { text = "MIT" }
8+
license = "MIT"
9+
license-files = ["LICENSE"]
910
classifiers = [
1011
"Environment :: Console",
1112
"Intended Audience :: Developers",
@@ -34,5 +35,5 @@ path = "autoflake.py"
3435
exclude = ["/.github"]
3536

3637
[tool.hatch.build]
37-
include = ["/autoflake.py", "/test_autoflake.py", "/LICENSE", "/README.md"]
38+
include = ["/autoflake.py"]
3839
exclude = ["/.gitignore"]

0 commit comments

Comments
 (0)