From d1d22c2dc24819cfb27404ffd7bf40239720bf1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 1 Jun 2013 16:03:45 +0000 Subject: [PATCH] Use the Cython Extension class so we can place generated C files in the build dir. --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index d7fde7d..950a87b 100755 --- a/setup.py +++ b/setup.py @@ -3,8 +3,7 @@ from os import curdir, pardir from os.path import join from distutils.core import setup -from distutils.extension import Extension -from Cython.Distutils import build_ext +from Cython.Distutils import Extension, build_ext setup( name = "VapourSynth", @@ -21,5 +20,6 @@ setup( ext_modules = [Extension("vapoursynth", [join("src", "cython", "vapoursynth.pyx")], libraries = ["vapoursynth"], library_dirs = [curdir, "build"], - include_dirs = [curdir, join("src", "cython")])] + include_dirs = [curdir, join("src", "cython")], + cython_c_in_temp = 1)] ) -- 2.11.4.GIT