[Python-modules-commits] [python-llfuse] 03/11: Use 'cython3' instead of 'cython' command

Nikolaus Rath nikratio-guest at moszumanska.debian.org
Mon Nov 13 12:52:48 UTC 2017


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 49ba7065315c429d61fde890d7c81d75229b7f46
Author: Nikolaus Rath <Nikolaus at rath.org>
Date:   Tue Feb 23 16:30:36 2016 -0800

    Use 'cython3' instead of 'cython' command
    
    Origin: debian
    Forwarded: not-needed
    
    In Debian, python3-cython provides only a 'cython3' command. To avoid
    pulling in the complete Python 2.x runtime environment for
    python-cython, we use 'cython3' instead.
---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 194c37a..c1ef975 100755
--- a/setup.py
+++ b/setup.py
@@ -225,7 +225,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:
@@ -235,7 +235,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