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

from setuptools import setup

setup(
    name='ckanapi',
    version='3.3-dev',
    description=
        'A command line interface and Python module for '
        'accessing the CKAN Action API',
    license='MIT',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/ckan/ckanapi',
    packages=[
        'ckanapi',
        'ckanapi.tests',
        'ckanapi.tests.mock',
        'ckanapi.cli',
        ],
    install_requires=[
        'setuptools',
        'docopt',
        'requests',
        'simplejson',
    ],
    test_suite='ckanapi.tests',
    zip_safe=False,
    entry_points = """
        [console_scripts]
        ckanapi=ckanapi.cli.main:main

        [paste.paster_command]
        ckanapi=ckanapi.cli.paster:CKANAPICommand
        """
    )
<commit_msg>Only install simplejson on python 2<commit_after>#!/usr/bin/env python

from setuptools import setup
import sys


install_requires=[
    'setuptools',
    'docopt',
    'requests',
],

if sys.version_info <= (3,):
    extra['use_2to3'] = True
    install_requires.append('simplejson')


setup(
    name='ckanapi',
    version='3.3-dev',
    description=
        'A command line interface and Python module for '
        'accessing the CKAN Action API',
    license='MIT',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/ckan/ckanapi',
    packages=[
        'ckanapi',
        'ckanapi.tests',
        'ckanapi.tests.mock',
        'ckanapi.cli',
        ],
    install_requires=install_requires,
    test_suite='ckanapi.tests',
    zip_safe=False,
    entry_points = """
        [console_scripts]
        ckanapi=ckanapi.cli.main:main

        [paste.paster_command]
        ckanapi=ckanapi.cli.paster:CKANAPICommand
        """
    )


{'fraction_non_alphanumeric': 0.13689482470784642, 'fraction_numerical': 0.004451864218141347, 'mean_word_length': 2.4378585086042066, 'pattern_counts': {'":': 0, '<': 8, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3965646', 'n_tokens_mistral': 614, 'n_tokens_neox': 606, 'n_words': 101}