projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01fb29c
)
trial fix for Py2.3 build
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Mar 2010 19:29:58 +0000
(20:29 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Mar 2010 19:29:58 +0000
(20:29 +0100)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 2e5b8cdcfb9a68033fd54a26ea8097b33c74d009..07e3531c0ae1eaa1cacca1f5bd7e25fa4de724df 100644
(file)
--- 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',