If I do wheel unpack MarkupSafe-2.0.1-cp39-cp39-linux_x86_64.whl, then wheel pack --build-number 01 MarkupSafe-2.0.1, the content of the WHEEL file now looks like:
Wheel-Version: 1.0
Generator: bdist_wheel (0.36.2)
Root-Is-Purelib: false
Tag: cp39-cp39-linux_x86_64
Wheel-Version: 1.0
Generator: bdist_wheel (0.36.2)
Root-Is-Purelib: false
Tag: cp39-cp39-linux_x86_64
Build: 01
While it does install, it seems like wheel pack could avoid duplicating the other existing lines along with replacing the build number.
If I do
wheel unpack MarkupSafe-2.0.1-cp39-cp39-linux_x86_64.whl, thenwheel pack --build-number 01 MarkupSafe-2.0.1, the content of theWHEELfile now looks like:While it does install, it seems like
wheel packcould avoid duplicating the other existing lines along with replacing the build number.