mgaitan / fortran_magic

An extension for IPython/Jupyter that helps to use Fortran in your interactive session.
BSD 3-Clause "New" or "Revised" License
116 stars 32 forks source link

Simplify f2py execution. #18

Closed QuLogic closed 8 years ago

QuLogic commented 8 years ago

Don't change directories, and don't mangle sys.argv. The former can be specified directly in the Popen constructor, and the latter is cruft from when the f2py module was imported directly.

mgaitan commented 8 years ago

seems much cleaner, thanks! . have you tested it in both python2 and python3? and any different OS ?

QuLogic commented 8 years ago

Sorry, only tried on 3.4 and 3.5, but I don't see why it wouldn't work with 2.7.