On Sat, 4 Aug 2018 at 13:31, Jeroen Demeyer <j.deme...@ugent.be> wrote: > > On 2018-08-04 14:02, Thomas Kluyver wrote: > > On Sat, Aug 4, 2018, at 9:34 AM, Paul Moore wrote: > >> Whether timestamps are > >> preserved by the wheel building process depends on the build system - > >> so the question boils down to "does setup.py bdist_wheel preserve > >> timestamps?" in the case of the setuptools backend - which is really a > >> question for the wheel project. In the more general case, you'd have > >> to ask the same question of flit, and any other backends you cared > >> about. > > > > IIRC, Flit will preserve the timestamps of the files when you build a wheel > > For the record: my post wasn't about *building* a wheel, but about > *installing* a wheel.
But given that the current behaviour of pip is to copy the timestamps held in the wheel[1], where those timestamps came from is relevant to the discussion, surely? Paul [1] Or is it? The wheel is expanded into a temporary directory, and then copied from there to the final location. It's only step 2 that has been confirmed to copy timestamps currently. I don't think anyone has checked what the expansion step does. -- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-le...@python.org https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/7POOVHXPW54JGMPO2UOIJT5ANFLXIIZM/