<commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-

try:
    from setuptools import setup, Extension
except ImportError :
    raise ImportError("setuptools module required, please go to https://pypi.python.org/pypi/setuptools and follow the instructions for installing setuptools")

install_requires=['numpy>=1.9', 
                  'fastcluster', 
                  'hcluster',
                  'categorical-distance',
                  'rlr',
                  'affinegap',
                  'canonicalize',
                  'simplecosine',
                  'haversine',
                  'BTrees==4.0.8',
                  'zope.interface', 
                  'zope.index']

try:
    from json.scanner import py_make_scanner
except ImportError:
    install_requires.append('simplejson')

try : 
    from collections import OrderedDict
except ImportError:
    install_requires.append('ordereddict')


setup(
    name='dedupe',
    url='https://github.com/datamade/dedupe',
    version='0.7.7.0.3',
    description='A python library for accurate and scaleable data deduplication and entity-resolution',
    packages=['dedupe', 'dedupe.variables'],
    ext_modules=[Extension('dedupe.cpredicates', ['src/cpredicates.c'])],
    license='The MIT License: http://www.opensource.org/licenses/mit-license.php',
    install_requires=install_requires,<commit_msg>metaphone dependency<commit_after>#!/usr/bin/python
# -*- coding: utf-8 -*-

try:
    from setuptools import setup, Extension
except ImportError :
    raise ImportError("setuptools module required, please go to https://pypi.python.org/pypi/setuptools and follow the instructions for installing setuptools")

install_requires=['numpy>=1.9', 
                  'fastcluster', 
                  'hcluster',
                  'categorical-distance',
                  'rlr',
                  'metaphone',
                  'affinegap',
                  'canonicalize',
                  'simplecosine',
                  'haversine',
                  'BTrees==4.0.8',
                  'zope.interface', 
                  'zope.index']

try:
    from json.scanner import py_make_scanner
except ImportError:
    install_requires.append('simplejson')

try : 
    from collections import OrderedDict
except ImportError:
    install_requires.append('ordereddict')


setup(
    name='dedupe',
    url='https://github.com/datamade/dedupe',
    version='0.7.7.0.3',
    description='A python library for accurate and scaleable data deduplication and entity-resolution',
    packages=['dedupe', 'dedupe.variables'],
    ext_modules=[Extension('dedupe.cpredicates', ['src/cpredicates.c'])],
    license='The MIT License: http://www.opensource.org/licenses/mit-license.php',

   dependency_links = ['http://github.com/al45tair/metaphone/tarball/master#egg=metaphone']
    install_requires=install_requires,
{'fraction_non_alphanumeric': 0.12155082081732449, 'fraction_numerical': 0.008382815228781, 'mean_word_length': 2.5055079559363524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '5460385', 'n_tokens_mistral': 870, 'n_tokens_neox': 797, 'n_words': 159}