From: Stefan Behnel Date: Thu, 11 Mar 2010 19:29:58 +0000 (+0100) Subject: trial fix for Py2.3 build X-Git-Tag: 0.13.beta0~319^2~2^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=87b5c78bccd0fbc8c40c6d56184974efac6f8acf;p=cython.git trial fix for Py2.3 build --- diff --git a/setup.py b/setup.py index 2e5b8cdc..07e3531c 100644 --- a/setup.py +++ b/setup.py @@ -39,9 +39,11 @@ if sys.version_info[0] >= 3: if sys.version_info < (2,4): + install_base_dir = get_python_lib(prefix='') import glob setup_args['data_files'] = [ - (os.path.dirname(pattern), [ f for f in glob.glob(pattern) ]) + (os.path.dirname(os.path.join(install_base_dir, pattern)), + [ f for f in glob.glob(pattern) ]) for pattern in ['Cython/Includes/*.pxd', 'Cython/Plex/*.pxd', 'Cython/Compiler/*.pxd',