[Python-modules-commits] [python-llfuse] 09/16: Use 'cython3' instead of 'cython' command
Nikolaus Rath
nikratio-guest at moszumanska.debian.org
Tue Mar 8 17:38:02 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 d373da861edbb4ae65e2e57aa0af5b74151060e9
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 185ab31..e9c027f 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