python package installed with setuptools: fixing permission of the PKG-INFO file
Enrico Maria Crisostomo
enrico.m.crisostomo at gmail.com
Fri Mar 23 14:42:06 UTC 2018
> On 23 Mar 2018, at 15:27, Rainer Müller <raimue at macports.org> wrote:
>
> On 2018-03-23 11:06, Mojca Miklavec wrote:
>> For the moment by far the easiest thing to do would be to use
>> system "chmod +r ${worksrcpath}/wherever-the-file-is"
>> probably in post-extract phase.
>
> In pure Tcl:
> file attributes ${worksrcpath}/wherever-the-file-is -permissions a+r
>
Thanks Rainer. I'm going to use this form, and in doing so I've learnt something new.
> Rainer
More information about the macports-dev
mailing list