summaryrefslogtreecommitdiff
path: root/numpy/f2py/setup.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
commitfbd6510d58a47ea0d166c48a82793f05425406e4 (patch)
tree330ce703eb02d20f96099c3fe0fc36ae33d4905b /numpy/f2py/setup.py
parent8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (diff)
downloadnumpy-fbd6510d58a47ea0d166c48a82793f05425406e4.tar.gz
STY: Giant comma spacing fixup.
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
Diffstat (limited to 'numpy/f2py/setup.py')
-rw-r--r--numpy/f2py/setup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/f2py/setup.py b/numpy/f2py/setup.py
index 96a047ec7..2f1fd6a01 100644
--- a/numpy/f2py/setup.py
+++ b/numpy/f2py/setup.py
@@ -48,10 +48,10 @@ def configuration(parent_package='',top_path=None):
f2py_exe = f2py_exe[:-4] + '.py'
if 'bdist_wininst' in sys.argv and f2py_exe[-3:] != '.py':
f2py_exe = f2py_exe + '.py'
- target = os.path.join(build_dir,f2py_exe)
- if newer(__file__,target):
+ target = os.path.join(build_dir, f2py_exe)
+ if newer(__file__, target):
log.info('Creating %s', target)
- f = open(target,'w')
+ f = open(target, 'w')
f.write('''\
#!%s
# See http://cens.ioc.ee/projects/f2py2e/
@@ -91,7 +91,7 @@ if __name__ == "__main__":
config = configuration(top_path='')
version = config.get_version()
- print('F2PY Version',version)
+ print('F2PY Version', version)
config = config.todict()
if sys.version[:3]>='2.3':
@@ -125,5 +125,5 @@ wrapping Fortran 77/90/95 subroutines, accessing common blocks from
Python, and calling Python functions from Fortran (call-backs).
Interfacing subroutines/data from Fortran 90/95 modules is supported.""",
url = "http://cens.ioc.ee/projects/f2py2e/",
- keywords = ['Fortran','f2py'],
+ keywords = ['Fortran', 'f2py'],
**config)