Skip to content

Commit c90e399

Browse files
authored
fix: Prevent error during parallel installations
Poetry and PDM install packages in parallel. By including README.md and pyproject.toml in the project's metadata, they are included in the final wheel, above the actual source files. Upon installation, these two files are written directly in site-packages. If one or more other packages do the same thing, it sometimes results in OS errors due to parallel accesses to the same files. PR #9: #9
1 parent 002d7d6 commit c90e399

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ repository = "https://github.com/mkdocstrings/autorefs"
1616
homepage = "https://github.com/mkdocstrings/autorefs"
1717
keywords = ["mkdocs", "mkdocs-plugin", "docstrings", "autodoc"]
1818
packages = [ { include = "mkdocs_autorefs", from = "src" } ]
19-
include = [
20-
"README.md",
21-
"pyproject.toml"
22-
]
2319

2420
[tool.poetry.dependencies]
2521
python = "^3.6"

0 commit comments

Comments
 (0)