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

DEPS = []

try:
    import importlib
except ImportError:
    DEPS.append('importlib')

try:
    import six
except ImportError:
    DEPS.append('six')

try:
    from setuptools import setup
    extra = {
        'install_requires': DEPS
    }
except ImportError:
    from distutils.core import setup
    extra = {
        'dependencies': DEPS
    }


def read(fname):
    try:
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    except IOError:
        return ''


setup(
    name='featuremonkey',
    version='0.3.1',
    description='FOP for Python',
    long_description=read('README.rst'),
    url='https://github.com/henzk/featuremonkey',
    author='<NAME>',
    author_email='<EMAIL>',
    license="MIT License",
    keywords='fop, features, program composition, program synthesis, monkey-patching',
    packages=['featuremonkey', 'featuremonkey.test', 'featuremonkey.test.mock', 'featuremonkey.test.mock.testpackage1', 'featuremonkey.tracing'],
    package_dir={'featuremonkey': 'featuremonkey'},
    package_data={'featuremonkey': []},
    include_package_data=True,
    scripts=['bin/test_featuremonkey'],
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent'
    ],
    **extra
)
<commit_msg>setup.py: unconditionally require six<commit_after>#! /usr/bin/env python
import os

DEPS = ['six']

try:
    import importlib
except ImportError:
    DEPS.append('importlib')

try:
    from setuptools import setup
    extra = {
        'install_requires': DEPS
    }
except ImportError:
    from distutils.core import setup
    extra = {
        'dependencies': DEPS
    }


def read(fname):
    try:
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    except IOError:
        return ''


setup(
    name='featuremonkey',
    version='0.3.1',
    description='FOP for Python',
    long_description=read('README.rst'),
    url='https://github.com/henzk/featuremonkey',
    author='<NAME>',
    author_email='<EMAIL>',
    license="MIT License",
    keywords='fop, features, program composition, program synthesis, monkey-patching',
    packages=['featuremonkey', 'featuremonkey.test', 'featuremonkey.test.mock', 'featuremonkey.test.mock.testpackage1', 'featuremonkey.tracing'],
    package_dir={'featuremonkey': 'featuremonkey'},
    package_data={'featuremonkey': []},
    include_package_data=True,
    scripts=['bin/test_featuremonkey'],
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent'
    ],
    **extra
)

{'fraction_non_alphanumeric': 0.13990744037023853, 'fraction_numerical': 0.002847988608045568, 'mean_word_length': 3.425196850393701, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1575862', 'n_tokens_mistral': 875, 'n_tokens_neox': 870, 'n_words': 178}