<commit_before>import itertools
import os
from setuptools import find_packages
from setuptools import setup


here = os.path.abspath(os.path.dirname(__file__))
readme = open(os.path.join(here, 'README.rst')).read()
changes = open(os.path.join(here, 'CHANGES.rst')).read()
requires = ()
# Babel and Lingua are not required by Soho but provide helpful tools
# to users to extract messages from content and templates, generate
# files in the GNU gettext format, etc.
extras_require = {'i18n': ('babel',
                           'lingua',
                           'translationstring'),
                  'rst': ('docutils',
                          'pygments'),
                  'zpt': ('chameleon', )}
# Sphinx is not required but can be installed to benefit from the
# extra ReST directives it defines.
tests_require = ('mock', 'sphinx') + tuple(
    itertools.chain(*extras_require.values()))


setup(name='Soho',
      version='0.8.0',
      description='A static web site generator',
      long_description='\n\n'.join((readme, changes)),
      classifiers=(
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Text Processing :: Markup :: HTML',
        ),
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://readthedocs.org/projects/Soho',
      keywords='web static site generator',<commit_msg>Python 3 support: Babel and lingua are not required by Soho. Since they are not compatible with Python 3, they break tests under Python 3. Let's remove them.<commit_after>import itertools
import os
from setuptools import find_packages
from setuptools import setup


here = os.path.abspath(os.path.dirname(__file__))
readme = open(os.path.join(here, 'README.rst')).read()
changes = open(os.path.join(here, 'CHANGES.rst')).read()
requires = ()
extras_require = {'i18n': ('translationstring', ),
                  'rst': ('docutils',
                          'pygments'),
                  'zpt': ('chameleon', )}
# Sphinx is not required but can be installed to benefit from several
# extra ReST directives it defines.
tests_require = ('mock', 'sphinx') + tuple(
    itertools.chain(*extras_require.values()))


setup(name='Soho',
      version='0.8.0',
      description='A static web site generator',
      long_description='\n\n'.join((readme, changes)),
      classifiers=(
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Text Processing :: Markup :: HTML',
        ),
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://readthedocs.org/projects/Soho',
      keywords='web static site generator',
{'fraction_non_alphanumeric': 0.1397126261082238, 'fraction_numerical': 0.007642922653622745, 'mean_word_length': 2.809080325960419, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '544372', 'n_tokens_mistral': 967, 'n_tokens_neox': 925, 'n_words': 267}