Skip to content

Commit

Permalink
Prevent installation of the "tests" package
Browse files Browse the repository at this point in the history
Tests should not be listed under packages, otherwise setup.py attempts
to install a "tests" package, causing potential clashes with other
packages.
  • Loading branch information
sbraz committed Oct 10, 2020
1 parent ba43b3c commit d929358
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Expand Up @@ -33,7 +33,9 @@ classifiers = [
urls = { Changelog = "https://github.com/pycqa/isort/blob/master/CHANGELOG.md" }
packages = [
{ include = "isort" },
{ include = "tests", format = "sdist" },
]
include = [
{ path = "tests", format = "sdist" },
]

[tool.poetry.dependencies]
Expand Down

0 comments on commit d929358

Please sign in to comment.