From: Guy Rozendorn Date: Tue, 2 Apr 2013 13:46:23 +0000 (+0300) Subject: python: Issue #15: Cython needs to be in setup_requires X-Git-Tag: v17~10^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60ce23e707e1dde852b25843f3334627f474424c;p=thirdparty%2Fkmod.git python: Issue #15: Cython needs to be in setup_requires We need Cython BEFORE installing kmod (done with setup_requires), and AFTER installation - during runtime (done with install_requires) --- diff --git a/libkmod/python/setup.py b/libkmod/python/setup.py index 2e15d033..f1057821 100644 --- a/libkmod/python/setup.py +++ b/libkmod/python/setup.py @@ -15,7 +15,6 @@ # You should have received a copy of the GNU Lesser General Public License # along with python-kmod. If not, see . from setuptools import setup -from distutils.core import setup from distutils.extension import Extension as _Extension import os as _os import sys as _sys @@ -62,4 +61,5 @@ setup( cmdclass = {'build_ext': build_ext_workaround}, ext_modules=ext_modules, install_requires=["Cython"], + setup_requires=["Cython"], )