diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-07-25 22:49:53 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-07-25 23:18:23 -0600 |
commit | a0121573e6685f09e5f613280d616070b8ff99cb (patch) | |
tree | 2cd329c4b970e6c6de383c1e8ac24e8f29454658 /numpy/f2py/setup.py | |
parent | b80d1f979efb528e855263a38b389cebd3eb90e1 (diff) | |
download | numpy-a0121573e6685f09e5f613280d616070b8ff99cb.tar.gz |
STY: Make PEP8 fixes in numpy/f2py
Decided to bite the bullet on this one. The code is certainly more
readable, so should be easier to fix if we need to.
Diffstat (limited to 'numpy/f2py/setup.py')
-rw-r--r-- | numpy/f2py/setup.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/numpy/f2py/setup.py b/numpy/f2py/setup.py index 656013fad..3204129ec 100644 --- a/numpy/f2py/setup.py +++ b/numpy/f2py/setup.py @@ -43,7 +43,7 @@ def _get_f2py_shebang(): return '#!' + sys.executable -def configuration(parent_package='',top_path=None): +def configuration(parent_package='', top_path=None): config = Configuration('f2py', parent_package, top_path) config.add_data_dir('tests') @@ -55,8 +55,8 @@ def configuration(parent_package='',top_path=None): config.make_svn_version_py() def generate_f2py_py(build_dir): - f2py_exe = 'f2py'+os.path.basename(sys.executable)[6:] - if f2py_exe[-4:]=='.exe': + f2py_exe = 'f2py' + os.path.basename(sys.executable)[6:] + if f2py_exe[-4:] == '.exe': f2py_exe = f2py_exe[:-4] + '.py' if 'bdist_wininst' in sys.argv and f2py_exe[-3:] != '.py': f2py_exe = f2py_exe + '.py' @@ -97,21 +97,21 @@ if __name__ == "__main__": 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Software Development :: Code Generators', - ] + ] setup(version=version, - description = "F2PY - Fortran to Python Interface Generaton", - author = "Pearu Peterson", - author_email = "pearu@cens.ioc.ee", - maintainer = "Pearu Peterson", - maintainer_email = "pearu@cens.ioc.ee", - license = "BSD", - platforms = "Unix, Windows (mingw|cygwin), Mac OSX", - long_description = """\ + description="F2PY - Fortran to Python Interface Generaton", + author="Pearu Peterson", + author_email="pearu@cens.ioc.ee", + maintainer="Pearu Peterson", + maintainer_email="pearu@cens.ioc.ee", + license="BSD", + platforms="Unix, Windows (mingw|cygwin), Mac OSX", + long_description="""\ The Fortran to Python Interface Generator, or F2PY for short, is a command line tool (f2py) for generating Python C/API modules for 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'], + url="http://cens.ioc.ee/projects/f2py2e/", + keywords=['Fortran', 'f2py'], **config) |