<commit_before>#!/usr/bin/env python
from os.path import join
import sys

from nipy import  __version__, __doc__

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

    config = Configuration(None, parent_package, top_path)
    config.set_options(ignore_setup_xxx_py=True,
                       assume_default_configuration=True,
                       delegate_options_to_subpackages=True,
                       quiet=True)
    # The quiet=True option will silence all of the name setting warnings:
    # Ignoring attempt to set 'name' (from 'neuroimaging.core' to
    #    'neuroimaging.core.image')
    # <NAME> recommends setting quiet=True on the numpy list, stating
    # these messages are probably only used in debugging numpy distutils.

    config.get_version('neuroimaging/version.py') # sets config.version

    config.add_subpackage('neuroimaging', 'neuroimaging')

    return config


def main():
    from numpy.distutils.core import setup

    setup( name = 'neuroimaging',
           description = 'This is a neuroimaging python package',
           author = 'Various',
           author_email = '<EMAIL>',
           url = 'http://neuroimaging.scipy.org',
           long_description = __doc__,
           configuration = configuration)


if __name__ == "__main__":
    main()<commit_msg>More replacing of neuroimaging with nipy<commit_after>#!/usr/bin/env python
from os.path import join
import sys

from nipy import  __version__, __doc__

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

    config = Configuration(None, parent_package, top_path)
    config.set_options(ignore_setup_xxx_py=True,
                       assume_default_configuration=True,
                       delegate_options_to_subpackages=True,
                       quiet=True)
    # The quiet=True option will silence all of the name setting warnings:
    # Ignoring attempt to set 'name' (from 'nipy.core' to
    #    'nipy.core.image')
    # <NAME> recommends setting quiet=True on the numpy list, stating
    # these messages are probably only used in debugging numpy distutils.

    config.get_version('nipy/version.py') # sets config.version

    config.add_subpackage('nipy', 'nipy')

    return config


def main():
    from numpy.distutils.core import setup

    setup( name = 'nipy',
           description = 'This is a neuroimaging python package',
           author = 'Various',
           author_email = '<EMAIL>',
           url = 'http://neuroimaging.scipy.org',
           long_description = __doc__,
           configuration = configuration)


if __name__ == "__main__":
    main()
{'fraction_non_alphanumeric': 0.08785529715762273, 'fraction_numerical': 0.0, 'mean_word_length': 2.8936781609195403, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, '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': '5114420', 'n_tokens_mistral': 774, 'n_tokens_neox': 732, 'n_words': 210}