30 May
2018
30 May
'18
4:36 p.m.
Hi, On Wed, May 30, 2018 at 10:29 PM, <alex.gronholm@nextday.fi> 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