Hi,
On Wed, May 30, 2018 at 10:29 PM, <[email protected]> wrote:
> I am currently working on implementing a "wheel repack" command which lets
> you unpack a wheel, modify it and then repack it again while keeping the
> wheel RECORD consistent.
> I think this is something that would solve your use case.
I wrote something similar a while back, of form:
with InWheel(original_wheel_fname, output_wheel_fname):
# You are now in the root directory of the unpacked wheel.
# Do what you will. The resulting files get packed up into the
output wheel.
# The record file adapted accordingly.
https://github.com/matthew-brett/delocate/blob/master/delocate/wheeltools.py
Cheers,
Matthew
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at
https://mail.python.org/mm3/archives/list/[email protected]/message/D2AOY5YUOOTAJSN3DZKIXXQKYQKNGW2P/