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

feat: make man pages be included in wheels too! #1236

Merged

Conversation

vergenzt
Copy link
Contributor

@vergenzt vergenzt commented Mar 28, 2024

#1235 only managed to get them included in sdists 🙈

Resolves #1234 for real now

I tested and confirmed now that both sdists and wheels end up with the files!

wireservice#1235 only managed to get them included in sdists 🙈
@jpmckinney
Copy link
Member

Reading the Stackoverflow message, does MANIFEST.in need to be updated, or no?

@harkabeeparolus
Copy link

Reading the Stackoverflow message, does MANIFEST.in need to be updated, or no?

No, MANIFEST.in rules are not needed for something explicitly specified with data_files:

[...] More precisely, the following files are included in a source distribution by default:
[...]

  • All files specified by the package-data and data-files configuration parameters in pyproject.toml and/or equivalent in setup.cfg/setup.py;

[Source: https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html]

@harkabeeparolus
Copy link

By the way, is there anything I could do to help get this PR past the finish line? I use csvkit daily, and I'm also a Python dev.

@jpmckinney
Copy link
Member

Aha, wheel ignores include_package_data and MANIFEST.in.

@coveralls
Copy link

Coverage Status

coverage: 90.381% (-0.01%) from 90.393%
when pulling 9209dea on vergenzt:gh-1234-include-manpages-in-wheels
into f73742f on wireservice:master.

1 similar comment
@coveralls
Copy link

Coverage Status

coverage: 90.381% (-0.01%) from 90.393%
when pulling 9209dea on vergenzt:gh-1234-include-manpages-in-wheels
into f73742f on wireservice:master.

@jpmckinney jpmckinney merged commit 5d7ea14 into wireservice:master Jul 12, 2024
19 checks passed
@harkabeeparolus
Copy link

Thanks! 🤩 🙏

@vergenzt
Copy link
Contributor Author

Thanks so much you two!!

@vergenzt vergenzt deleted the gh-1234-include-manpages-in-wheels branch September 30, 2024 15:15
vergenzt added a commit to vergenzt/homebrew-core that referenced this pull request Sep 30, 2024
As of 2.0.1 (wireservice/csvkit#1236) man pages for csvkit are now built and included in wheels! This commit updates the formula to link them.
vergenzt added a commit to vergenzt/homebrew-core that referenced this pull request Sep 30, 2024
As of 2.0.1 (wireservice/csvkit#1236) man pages for csvkit are now built and included in wheels! This commit updates the formula to link them.
branchvincent pushed a commit to vergenzt/homebrew-core that referenced this pull request Oct 4, 2024
As of 2.0.1 (wireservice/csvkit#1236) man pages for csvkit are now built and included in wheels! This commit updates the formula to link them.
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.

Include man pages in PyPI package tarballs?
4 participants