<commit_before>
def configuration(parent_package='',top_path=None, package_name='models'):
    from numpy.distutils.misc_util import Configuration
    config = Configuration(package_name,parent_package,top_path)

    config.add_subpackage('*')

    config.add_data_dir('tests')

    try:
        import sys
        print sys.path
        from scipy.stats.models.bspline_module import mod
        n, s, d = weave_ext(mod)
        config.add_extension(n, s, **d)
    except ImportError: pass

    return config

def weave_ext(mod):
    d = mod.setup_extension().__dict__
    n = d['name']; del(d['name'])
    s = d['sources']; del(d['sources'])
    return n, s, d

if __name__ == '__main__':

    from numpy.distutils.core import setup
    setup(**configuration(top_path='', package_name='scipy.stats.models').todict())<commit_msg>Don't print sys.path on setup.<commit_after>
def configuration(parent_package='',top_path=None, package_name='models'):
    from numpy.distutils.misc_util import Configuration
    config = Configuration(package_name,parent_package,top_path)

    config.add_subpackage('*')

    config.add_data_dir('tests')

    try:
        import sys
        from scipy.stats.models.bspline_module import mod
        n, s, d = weave_ext(mod)
        config.add_extension(n, s, **d)
    except ImportError: pass

    return config

def weave_ext(mod):
    d = mod.setup_extension().__dict__
    n = d['name']; del(d['name'])
    s = d['sources']; del(d['sources'])
    return n, s, d

if __name__ == '__main__':

    from numpy.distutils.core import setup
    setup(**configuration(top_path='', package_name='scipy.stats.models').todict())
{'fraction_non_alphanumeric': 0.1343825665859564, 'fraction_numerical': 0.0, 'mean_word_length': 3.75, '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': '2105164', 'n_tokens_mistral': 547, 'n_tokens_neox': 531, 'n_words': 113}