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

descr   = """Image Processing SciKit

Image processing algorithms for SciPy, including IO, morphology, filtering,
warping, color manipulation, object detection, etc.

Please refer to the online documentation at
http://stefanv.github.com/scikits.image
"""

DISTNAME            = 'scikits.image'
DESCRIPTION         = 'Image processing routines for SciPy'
LONG_DESCRIPTION    = descr
MAINTAINER          = '<NAME>'
MAINTAINER_EMAIL    = '<EMAIL>'
URL                 = 'http://stefanv.github.com/scikits.image'
LICENSE             = 'Modified BSD'
DOWNLOAD_URL        = 'http://github.com/stefanv/scikits.image'
VERSION             = '0.2.1'

import os
import setuptools
from numpy.distutils.core import setup

def configuration(parent_package='', top_path=None):
    if os.path.exists('MANIFEST'): os.remove('MANIFEST')

    from numpy.distutils.misc_util import Configuration
    config = Configuration(None, parent_package, top_path,
                           namespace_packages=['scikits'])

    config.add_subpackage('scikits')
    config.add_subpackage(DISTNAME)
    config.add_data_files('scikits/__init__.py')
    config.add_data_dir('scikits/image/data')

    return config

def write_version_py(filename='scikits/image/version.py'):
    template = """# THIS FILE IS GENERATED FROM THE SCIKITS.IMAGE SETUP.PY
version='%s'
"""

    vfile = open(os.path.join(os.path.dirname(__file__),
                              filename), 'w')
<commit_msg>Set version to 0.2.2 to release a bugfix sdist.<commit_after>#! /usr/bin/env python

descr   = """Image Processing SciKit

Image processing algorithms for SciPy, including IO, morphology, filtering,
warping, color manipulation, object detection, etc.

Please refer to the online documentation at
http://stefanv.github.com/scikits.image
"""

DISTNAME            = 'scikits.image'
DESCRIPTION         = 'Image processing routines for SciPy'
LONG_DESCRIPTION    = descr
MAINTAINER          = '<NAME>'
MAINTAINER_EMAIL    = '<EMAIL>'
URL                 = 'http://stefanv.github.com/scikits.image'
LICENSE             = 'Modified BSD'
DOWNLOAD_URL        = 'http://github.com/stefanv/scikits.image'
VERSION             = '0.2.2'

import os
import setuptools
from numpy.distutils.core import setup

def configuration(parent_package='', top_path=None):
    if os.path.exists('MANIFEST'): os.remove('MANIFEST')

    from numpy.distutils.misc_util import Configuration
    config = Configuration(None, parent_package, top_path,
                           namespace_packages=['scikits'])

    config.add_subpackage('scikits')
    config.add_subpackage(DISTNAME)
    config.add_data_files('scikits/__init__.py')
    config.add_data_dir('scikits/image/data')

    return config

def write_version_py(filename='scikits/image/version.py'):
    template = """# THIS FILE IS GENERATED FROM THE SCIKITS.IMAGE SETUP.PY
version='%s'
"""

    vfile = open(os.path.join(os.path.dirname(__file__),
                              filename), 'w')

{'fraction_non_alphanumeric': 0.1145418326693227, 'fraction_numerical': 0.00298804780876494, 'mean_word_length': 3.1847222222222222, 'pattern_counts': {'":': 0, '<': 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': '2506836', 'n_tokens_mistral': 952, 'n_tokens_neox': 918, 'n_words': 204}