mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
makewheel: Fix huge .whl files due to lack of compression for some files
Regression from 1f106a0a2a26c2db3860f8c0ff95deeddde99e8a [skip ci]
This commit is contained in:
parent
440b2c48b8
commit
b7fc80d6cc
@ -562,6 +562,7 @@ class WheelFile(object):
|
||||
print("Adding {0} from {1}".format(target_path, orig_source_path))
|
||||
|
||||
zinfo = zipfile.ZipInfo.from_file(source_path, target_path)
|
||||
zinfo.compress_type = self.zip_file.compression
|
||||
if zinfo.date_time > self.max_date_time:
|
||||
zinfo.date_time = self.max_date_time
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user