Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/lib/setup.py @ 87:2a2c65a20a8b
Add Python libs and headers
author | Chris Cannam |
---|---|
date | Wed, 25 Feb 2015 14:05:22 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
86:413a9d26189e | 87:2a2c65a20a8b |
---|---|
1 from __future__ import division, print_function | |
2 | |
3 from os.path import join | |
4 | |
5 def configuration(parent_package='',top_path=None): | |
6 from numpy.distutils.misc_util import Configuration | |
7 | |
8 config = Configuration('lib', parent_package, top_path) | |
9 | |
10 config.add_include_dirs(join('..', 'core', 'include')) | |
11 | |
12 config.add_extension('_compiled_base', | |
13 sources=[join('src', '_compiled_base.c')] | |
14 ) | |
15 | |
16 config.add_data_dir('benchmarks') | |
17 config.add_data_dir('tests') | |
18 | |
19 return config | |
20 | |
21 if __name__ == '__main__': | |
22 from numpy.distutils.core import setup | |
23 setup(configuration=configuration) |