python package installed with setuptools: fixing permission of the PKG-INFO file

Rainer Müller raimue at macports.org
Fri Mar 23 14:27:12 UTC 2018


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

Rainer


More information about the macports-dev mailing list