<commit_before>#!/usr/bin/env python

import os
from glob import glob
from scipy.distutils.core import Extension
from scipy.distutils.misc_util import get_path, Configuration, dot_join

def configuration(parent_package='',parent_path=None):
    from scipy.distutils.system_info import get_info, dict_append
    package_name = 'interpolate'
    local_path = get_path(__name__,parent_path)
    config = Configuration(package_name, parent_package)

    config.add_library('fitpack',
                       sources=glob(os.path.join(local_path, 'fitpack', '*.f')),
                      )
                      
    config.add_extension('_fitpack',
                         sources=['_fitpackmodule.c'],
                         libraries=['fitpack'],
                        )

    config.add_extension('dfitpack',
                         sources=['fitpack.pyf'],
                         libraries=['fitpack'],
                        )

    return config

if __name__ == '__main__':    <commit_msg> r219@Blasphemy:  kern | 2005-10-07 06:54:00 -0700  Clean up scipy.interpolate's setup. Nice job with the new scipy.distutils API, Pearu.<commit_after>#!/usr/bin/env python

import os
from glob import glob
from scipy.distutils.core import Extension
from scipy.distutils.misc_util import get_path, Configuration, dot_join

def configuration(parent_package='',parent_path=None):
    from scipy.distutils.system_info import get_info, dict_append
    package_name = 'interpolate'
    local_path = get_path(__name__,parent_path)
    config = Configuration(package_name, parent_package)

    config.add_library('fitpack',
                       sources=[os.path.join('fitpack', '*.f')],
                      )
                      
    config.add_extension('_fitpack',
                         sources=['_fitpackmodule.c'],
                         libraries=['fitpack'],
                        )

    config.add_extension('dfitpack',
                         sources=['fitpack.pyf'],
                         libraries=['fitpack'],
                        )

    return config

if __name__ == '__main__':    
{'fraction_non_alphanumeric': 0.10218631178707224, 'fraction_numerical': 0.009980988593155894, 'mean_word_length': 2.0819912152269398, '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': '4805886', 'n_tokens_mistral': 617, 'n_tokens_neox': 572, 'n_words': 110}