diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-01-27 12:21:07 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-01-27 12:21:07 +0000 |
commit | 6bf1820ba23583a96331dedc07338dc2ee78564b (patch) | |
tree | d4793bf8f81721644d0e0ebeddaba208bf85e954 /numpy/distutils/core.py | |
parent | b7cc1f63d4bd51ea8df16305d8213a10d7493f3a (diff) | |
download | numpy-6bf1820ba23583a96331dedc07338dc2ee78564b.tar.gz |
Added data_files generator support - removed a piece of core.setup function.
Diffstat (limited to 'numpy/distutils/core.py')
-rw-r--r-- | numpy/distutils/core.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/numpy/distutils/core.py b/numpy/distutils/core.py index 724e1517f..d246448ed 100644 --- a/numpy/distutils/core.py +++ b/numpy/distutils/core.py @@ -80,16 +80,6 @@ def setup(**attr): and not new_attr.has_key('headers'): new_attr['headers'] = [] - # Expand directories in data_files to files - if new_attr.has_key('data_files'): - new_data_files = [] - for data in new_attr['data_files']: - if type(data) is types.StringType: - new_data_files.append(get_data_files(data)[0]) - else: - new_data_files.append((data[0],get_data_files(data))) - new_attr['data_files'] = new_data_files - return old_setup(**new_attr) def _check_append_library(libraries, item): |