Include flair/py.typed
and requirements.txt
in source distribution
#3206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the following issues by including the
flair/py.typed
andrequirements.txt
in the source distribution (sdist):py.typed
file was added in add py.typed file for PEP-561 compatibility #2858. Although the file was added to the repository, it is not present in the distributed package.requirements.txt
file was not included in flair-0.12.2.tar.gz on PyPI, which was causing issues when installing flair via the tarball. Closes requirements.txt missing from PyPI source tarball #2759This is done by including these files in the source distribution (
sdist
) by adding aMANIFEST.in
file. To test that this works, git checkout this branch, and run:Then untar the
flair-0.12.2.tar.gz
file. You should see therequirements.txt
andpy.typed
files inside. Confirm that things work by running the following command:This should install the package and report: