forked from ansh103/search-MjoLniR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (57 loc) · 1.46 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
56
57
58
59
60
61
import os
from setuptools import find_packages, setup
requirements = [
# mjolnir requirements
'requests',
'kafka-python',
'pyyaml',
'hyperopt<0.2.0',
'elasticsearch>=5.0.0,<6.0.0',
'jsonschema',
'prometheus_client',
'xgboost==0.90',
# hyperopt requires networkx < 2.0, but doesn't say so
'networkx<2.0',
# pyspark requirements
'py4j',
'numpy',
# for wmf logging integration
'python-json-logger',
]
test_requirements = [
'findspark',
'flake8',
'pytest',
'pytest-mock',
'tox',
]
setup(
name='wmf_mjolnir',
version='0.0.2',
author='Wikimedia Search Team',
author_email='discovery@lists.wikimedia.org',
description='A plumbing library for Machine Learned Ranking at Wikimedia',
license='MIT',
entry_points={
'console_scripts': [
'mjolnir-utilities.py = mjolnir.__main__:main',
],
},
packages=find_packages(),
include_package_data=True,
data_files=['README.rst'],
install_requires=requirements,
test_requires=test_requirements,
extras_require={
"test": test_requirements
},
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
)