Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop installing documentation files to top-level site-packages #2057

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Dec 21, 2022

Add format = sdist to include table values to prevent the documentation files from being installed directly into site-packages, i.e.:

/usr/lib/python3.11/site-packages/CHANGELOG.md
/usr/lib/python3.11/site-packages/LICENSE

Originally reported by Anna Vyalkova on https://bugs.gentoo.org/887569.

Add `format = sdist` to `include` table values to prevent
the documentation files from being installed directly into
site-packages, i.e.:

    /usr/lib/python3.11/site-packages/CHANGELOG.md
    /usr/lib/python3.11/site-packages/LICENSE

Originally reported by Anna Vyalkova on https://bugs.gentoo.org/887569.
@codecov
Copy link

codecov bot commented Dec 21, 2022

Codecov Report

Merging #2057 (a6fdbfd) into main (ff306f8) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2057   +/-   ##
=======================================
  Coverage   98.80%   98.80%           
=======================================
  Files          38       38           
  Lines        3084     3084           
  Branches      745      745           
=======================================
  Hits         3047     3047           
  Misses         26       26           
  Partials       11       11           

@staticdev staticdev merged commit 3020e0b into PyCQA:main Dec 21, 2022
@staticdev
Copy link
Collaborator

Thanks @mgorny

@mgorny
Copy link
Contributor Author

mgorny commented Dec 21, 2022

Thanks!

@mgorny mgorny deleted the poetry-install branch December 21, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants