<commit_before>#!/usr/bin/env python
from __future__ import division, print_function, absolute_import


def configuration(parent_package='', top_path=None):
    from numpy.distutils.misc_util import Configuration
    import numpy as np

    config = Configuration('pywt', parent_package, top_path)

    config.add_data_dir('tests')

    # add main PyWavelets module
    config.add_extension(
        '_pywt',
        sources=["src/_pywt.c", "src/common.c", "src/convolution.c",
                 "src/wavelets.c", "src/wt.c"],
        include_dirs=["src", np.get_include()],<commit_msg>BLD: Correctly specify c dependencies<commit_after>#!/usr/bin/env python
from __future__ import division, print_function, absolute_import


def configuration(parent_package='', top_path=None):
    from numpy.distutils.misc_util import Configuration
    import numpy as np

    config = Configuration('pywt', parent_package, top_path)

    config.add_data_dir('tests')

    sources = ["_pywt", "common", "convolution", "wavelets", "wt"]
    source_templates = ["convolution", "wt"]
    headers = ["templating", "wavelets_coeffs"]
    header_templates = ["convolution", "wt", "wavelets_coeffs"]

    # add main PyWavelets module
    config.add_extension(
        '_pywt',
        sources=["src/{}.c".format(s) for s in sources],
        depends=(["src/{}.template.c".format(s) for s in source_templates]
                 + ["src/{}.template.h".format(s) for s in header_templates]
                 + ["src/{}.h".format(s) for s in headers]),
        include_dirs=["src", np.get_include()],
{'fraction_non_alphanumeric': 0.14185750636132316, 'fraction_numerical': 0.0, 'mean_word_length': 3.626470588235294, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1916826', 'n_tokens_mistral': 494, 'n_tokens_neox': 479, 'n_words': 108}