Re: Timestamp of installed files

Paul Moore <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CACac1F80EpGDEQ=kOszaVZ-GPQ7i4NDA4cg0CBj0FZz7gNNjBA@mail.gmail.com>
On Sat, 4 Aug 2018 at 13:31, Jeroen Demeyer <[email protected]> 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 -- [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/7POOVHXPW54JGMPO2UOIJT5ANFLXIIZM/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.