<commit_before># from os.path import join,split

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

    #config.add_subpackage('*')
    config.add_subpackage('family')
    config.add_subpackage('robust')
    config.add_data_dir('tests')
    config.add_extension('_hbspline',
                         sources=['src/bspline_ext.c',
                                  'src/bspline_impl.c'],
    )

    return config

if __name__ == '__main__':

    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())

    #package_name = 'neuroimaging.fixes.scipy.stats.models'
    #package_name = 'scipy.stats.models'

    #setup(**configuration(top_path='',
    #                      package_name=package_name).todict())<commit_msg>Update setup.py, removing commented-out code.<commit_after>
def configuration(parent_package='',top_path=None):
    from numpy.distutils.misc_util import Configuration
    config = Configuration('models',parent_package,top_path)

    config.add_subpackage('family')
    config.add_subpackage('robust')

    config.add_data_dir('tests')

    config.add_extension('_hbspline',
                         sources=['src/bspline_ext.c',
                                  'src/bspline_impl.c'],
    )
    return config

if __name__ == '__main__':

    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())
{'fraction_non_alphanumeric': 0.12720632988435787, 'fraction_numerical': 0.0, 'mean_word_length': 3.4193548387096775, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4731384', 'n_tokens_mistral': 510, 'n_tokens_neox': 489, 'n_words': 69}