From 87b5c78bccd0fbc8c40c6d56184974efac6f8acf Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 11 Mar 2010 20:29:58 +0100 Subject: [PATCH] trial fix for Py2.3 build --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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', -- 2.26.2