[petsc-dev] #!/usr/bin/env python2?

Jed Brown jed at 59A2.org
Tue Oct 19 10:17:29 CDT 2010


On Tue, Oct 19, 2010 at 16:56, Toby D. Young <tyoung at ippt.gov.pl> wrote:

> A quick look at the real petsc-configure script... perhaps add the
> following after (or in) the check that already exist there (see lines 14
> to 21 there):
>

That file does not parse with python3, such a check would have to be
factored out into another module that parsed correctly with with python2 and
python3.

I'm not so concerned by configure itself, but there are a lot of other
scripts that can be called stand-alone:

$ grep -rl '#!/usr/bin/env python' bin config | wc -l
134

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101019/2563e66f/attachment.html>


More information about the petsc-dev mailing list