The binary distribution format (wheel) is defined in PEP 427.
Source distribution format
The .pypirc file
.pypirc