[Python-modules-commits] [python-llfuse] 02/08: Use 'cython3' instead of 'cython'

Nikolaus Rath nikratio-guest at moszumanska.debian.org
Mon Feb 1 18:32:47 UTC 2016


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

nikratio-guest pushed a commit to branch master
in repository python-llfuse.

commit 60a9beccd0b6b77f7019e034b003495c7cfdb792
Author: Nikolaus Rath <Nikolaus at rath.org>
Date:   Mon Feb 1 10:15:47 2016 -0800

    Use 'cython3' instead of 'cython'
    
    In Debian, the 'cython' command is provided by the Python 2.x version
    of Python. While both versions work, it's nicer to use the more recent
    version.
---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index d028ca7..c53d740 100755
--- a/setup.py
+++ b/setup.py
@@ -211,7 +211,7 @@ class build_cython(setuptools.Command):
 
     def run(self):
         try:
-            version = subprocess.check_output(['cython', '--version'],
+            version = subprocess.check_output(['cython3', '--version'],
                                               universal_newlines=True,
                                               stderr=subprocess.STDOUT)
         except OSError:
@@ -221,7 +221,7 @@ class build_cython(setuptools.Command):
         if not hit or LooseVersion(hit.group(1)) < "0.24":
             raise SystemExit('Need Cython 0.24 or newer, found ' + version)
 
-        cmd = ['cython', '-Wextra', '--force', '-3', '--fast-fail',
+        cmd = ['cython3', '-Wextra', '--force', '-3', '--fast-fail',
                '--directive', 'embedsignature=True', '--include-dir',
                os.path.join(basedir, 'Include'), '--verbose' ]
         if DEVELOPER_MODE:

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



More information about the Python-modules-commits mailing list