(parent_package='',top_path=None)
| 1 | import sys |
| 2 | |
| 3 | def configuration(parent_package='',top_path=None): |
| 4 | from numpy.distutils.misc_util import Configuration |
| 5 | config = Configuration('fft', parent_package, top_path) |
| 6 | |
| 7 | config.add_subpackage('tests') |
| 8 | |
| 9 | # AIX needs to be told to use large file support - at all times |
| 10 | defs = [('_LARGE_FILES', None)] if sys.platform[:3] == "aix" else [] |
| 11 | # Configure pocketfft_internal |
| 12 | config.add_extension('_pocketfft_internal', |
| 13 | sources=['_pocketfft.c'], |
| 14 | define_macros=defs, |
| 15 | ) |
| 16 | |
| 17 | config.add_data_files('*.pyi') |
| 18 | return config |
| 19 | |
| 20 | if __name__ == '__main__': |
| 21 | from numpy.distutils.core import setup |
nothing calls this directly
no test coverage detected