[Python-modules-commits] [python-numpy] 03/15: force generation f2py postfixed with interpreter version

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 31 02:06:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository python-numpy.

commit 658a6e3f78e0978eba0373af5d37b1d5f9e85c05
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date:   Sun Oct 11 10:12:15 2015 -0700

    force generation f2py postfixed with interpreter version
    
    Patch-Name: 03_force_f2py_version.patch
---
 numpy/f2py/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/numpy/f2py/setup.py b/numpy/f2py/setup.py
index 3204129..0ca45ec 100644
--- a/numpy/f2py/setup.py
+++ b/numpy/f2py/setup.py
@@ -55,7 +55,7 @@ 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:]
+        f2py_exe = 'f2py'+sys.version[:3]
         if f2py_exe[-4:] == '.exe':
             f2py_exe = f2py_exe[:-4] + '.py'
         if 'bdist_wininst' in sys.argv and f2py_exe[-3:] != '.py':

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-numpy.git



More information about the Python-modules-commits mailing list