Skip to content

Commit

Permalink
fix pypi upload error with readme
Browse files Browse the repository at this point in the history
  • Loading branch information
j042 committed Nov 17, 2023
1 parent 83afdde commit c203503
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ classifiers = [
dependencies = [
"numpy",
]
dynamic = ["version", "readme"]
dynamic = ["version"]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.optional-dependencies]
all = [
Expand Down Expand Up @@ -60,7 +64,6 @@ build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
version = {attr = "gustaf._version.version"}
readme = {file = "README.md"}

[tool.ruff]
line-length = 79
Expand Down

0 comments on commit c203503

Please sign in to comment.