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

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pyproject.toml

-4
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)