forked from jannson/simhash-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·30 lines (27 loc) · 975 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /usr/bin/env python
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
ext_modules = [Extension('simhash.table', [
'simhash/table.pyx',
'simhash/simhash-cpp/src/simhash.cpp'
], language='c++', libraries=['Judy']),
]
setup(name = 'simhash',
version = '0.1.0',
description = 'Near-Duplicate Detection with Simhash',
url = 'http://github.com/seomoz/simhash-py',
author = 'Dan Lecocq',
author_email = '[email protected]',
packages = ['simhash'],
package_dir = {'simhash': 'simhash'},
cmdclass = {'build_ext': build_ext},
dependencies = [],
ext_modules = ext_modules,
classifiers = [
'Programming Language :: Python',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP'
],
)