From 600f97c2d259372420bbfd1f91fca4a651a9b950 Mon Sep 17 00:00:00 2001 From: pavelkomarov Date: Tue, 24 Sep 2024 12:23:03 -0700 Subject: [PATCH] we're on python3, so importing from future should no longer be necessary --- src/pyclaw/build/fcompiler.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pyclaw/build/fcompiler.py b/src/pyclaw/build/fcompiler.py index bbb12bd55..298de2171 100644 --- a/src/pyclaw/build/fcompiler.py +++ b/src/pyclaw/build/fcompiler.py @@ -1,6 +1,3 @@ - -from __future__ import absolute_import -from __future__ import print_function def get_fcompiler(): import numpy.distutils.fcompiler numpy.distutils.log.set_verbosity(-1) @@ -8,7 +5,7 @@ def get_fcompiler(): fc.customize() return fc -if __name__=="__main__": +if __name__ == "__main__": fc = get_fcompiler() import sys if sys.argv[1] == 'get_compiler':