Skip to content

Conversation

@agriyakhetarpal
Copy link
Member

Hi, this PR is a minor documentation fix – I was just reading through the section "Including/excluding files in the SDist" in the Classic Packaging guide and this point caught my eye: this section talks about the procedure used to install a package via the invocation of the pip install . command: it incorrectly refers to the wheel as being a .tar.gz file while it isn't – it is fairly and commonly known that it is a .zip file.

I have mentioned the correct file extension for the wheel and added a note about the SDist being in a sentence above, correctly reporting so that it can be known that the difference exists. I don't think that the incorrect documentation misguides anyone at this moment, but it's good to be correct considering the veracity of the guide since its inception.

A minor documentation fix, this section referred to the wheel as a `.tar.gz` file while it isn't – it is fairly known that it is a `.zip` file.

I added the correct file extension for the SDist in the point above it, just for the sake of clarity.
@agriyakhetarpal agriyakhetarpal changed the title docs: assert incorrect file extension reference for wheels & sdists docs: assert correct file extension reference for wheels & sdists Jan 12, 2024
@henryiii
Copy link
Collaborator

Oops, thanks! It's correct on the simple page:

> unzip -l dist/*.whl
(I checked)

@henryiii henryiii merged commit 8f36079 into scientific-python:main Jan 12, 2024
@agriyakhetarpal agriyakhetarpal deleted the fix-wheel-file-format-docs branch January 12, 2024 22:17
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