tmp
/
pip-install-ghxuqwgs
/numpy_78e94bf2b6094bf9a1f3d92042f9bf46
/numpy
/distutils
/tests
/swig_ext
/setup.py
| #!/usr/bin/env python | |
| from __future__ import division, print_function | |
| def configuration(parent_package='',top_path=None): | |
| from numpy.distutils.misc_util import Configuration | |
| config = Configuration('swig_ext', parent_package, top_path) | |
| config.add_extension('_example', | |
| ['src/example.i', 'src/example.c'] | |
| ) | |
| config.add_extension('_example2', | |
| ['src/zoo.i', 'src/zoo.cc'], | |
| depends=['src/zoo.h'], | |
| include_dirs=['src'] | |
| ) | |
| config.add_data_dir('tests') | |
| return config | |
| if __name__ == "__main__": | |
| from numpy.distutils.core import setup | |
| setup(configuration=configuration) | |