Skip to content

Commit

Permalink
[GEOPY-1860] do not include top level files in wheels
Browse files Browse the repository at this point in the history
According to Poetry doc:
When a wheel is installed, its includes are unpacked straight into the site-packages directory.
Pay attention to include top level files and directories with common names
like CHANGELOG.md, LICENSE, tests or docs only in sdists and not in wheels.
  • Loading branch information
sebhmg committed Nov 20, 2024
1 parent c8580bb commit a0d3a5d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ classifiers = [
]

include = [
{ path = "COPYING", format = ["sdist", "wheel"] },
{ path = "COPYING.LESSER", format = ["sdist", "wheel"] },
{ path = "LICENSE", format = ["sdist", "wheel"] },
{ path = "README.rst", format = ["sdist", "wheel"] },
{ path = "THIRD_PARTY_SOFTWARE.rst", format = ["sdist", "wheel"] },
{ path = "docs/**/THIRD_PARTY_SOFTWARE.rst", format = ["sdist", "wheel"] },
{ path = "COPYING" },
{ path = "COPYING.LESSER" },
{ path = "LICENSE" },
{ path = "README.rst" },
{ path = "THIRD_PARTY_SOFTWARE.rst" },
{ path = "docs/**/THIRD_PARTY_SOFTWARE.rst" },
]

[tool.poetry.dependencies]
Expand Down

0 comments on commit a0d3a5d

Please sign in to comment.