Skip to content

Commit

Permalink
fix: Prevent error during parallel installations
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pawamoy committed May 16, 2021
1 parent bb4f9de commit fac2c71
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyproject.toml
Expand Up @@ -13,10 +13,6 @@ repository = "https://github.com/mkdocstrings/mkdocstrings"
homepage = "https://github.com/mkdocstrings/mkdocstrings"
keywords = ["mkdocs", "mkdocs-plugin", "docstrings", "autodoc", "documentation"]
packages = [ { include = "mkdocstrings", from = "src" } ]
include = [
"README.md",
"pyproject.toml"
]

[tool.poetry.dependencies]
python = "^3.6"
Expand Down

0 comments on commit fac2c71

Please sign in to comment.