forked from douban/dpark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (51 loc) · 1.61 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import sys
from setuptools import setup, Extension
# setuptools DWIM monkey-patch madness: http://dou.bz/37m3XL
if 'setuptools.extension' in sys.modules:
m = sys.modules['setuptools.extension']
m.Extension.__dict__ = m._Extension.__dict__
ext_modules = [Extension('dpark.portable_hash', ['dpark/portable_hash.pyx'])]
version = '0.3.2'
setup(name='DPark',
version=version,
description="Python clone of Spark, MapReduce like "
+"computing framework supporting iterative algorithms.",
classifiers=[
"Programming Language :: Python",
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
],
keywords='dpark python mapreduce spark',
author='Davies Liu',
author_email='[email protected]',
license= 'BSD License',
packages=['dpark', 'dpark.moosefs'],
include_package_data=True,
zip_safe=False,
setup_requires=['setuptools_cython', 'Cython >= 0.20'],
url="https://github.com/douban/dpark",
download_url = 'https://github.com/douban/dpark/archive/%s.tar.gz' % version,
install_requires=[
'pymesos',
'setuptools',
'pyzmq',
'msgpack-python',
'cython',
'lz4',
'psutil',
],
tests_require=[
'nose',
],
test_suite='nose.collector',
ext_modules=ext_modules,
scripts=[
'tools/drun',
'tools/mrun',
'tools/executor.py',
'tools/scheduler.py',
'tools/dquery',
'examples/dgrep',
]
)