Skip to content

Commit

Permalink
we're on python3, so importing from future should no longer be necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkomarov committed Sep 24, 2024
1 parent a16a609 commit 600f97c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pyclaw/build/fcompiler.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@

from __future__ import absolute_import
from __future__ import print_function
def get_fcompiler():
import numpy.distutils.fcompiler
numpy.distutils.log.set_verbosity(-1)
fc = numpy.distutils.fcompiler.new_fcompiler()
fc.customize()
return fc

if __name__=="__main__":
if __name__ == "__main__":
fc = get_fcompiler()
import sys
if sys.argv[1] == 'get_compiler':
Expand Down

0 comments on commit 600f97c

Please sign in to comment.