summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Rozendorn <guy@rzn.co.il>2013-04-02 16:46:23 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-20 07:22:54 -0300
commitf8e6782794ba154e0d760ebab91d20e1e23843a7 (patch)
tree1d01665896cdecf02623b0ff826402f6a86aedfb
parent4324cf36788d675f6058ed68473559be13fcafb8 (diff)
downloadkmod-f8e6782794ba154e0d760ebab91d20e1e23843a7.tar.gz
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)
-rw-r--r--libkmod/python/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmod/python/setup.py b/libkmod/python/setup.py
index 2e15d03..f105782 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 <http://www.gnu.org/licenses/>.
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"],
)