forked from dorianbrown/rank_bm25
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 819 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
31
32
from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
short_description = 'Various BM25 algorithms for document ranking'
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = short_description
setup(
name='rank_bm25',
version='0.2',
description=short_description,
long_description=long_description,
long_description_content_type='text/markdown',
author='D. Brown',
author_email='[email protected]',
url="https://github.com/dorianbrown/rank_bm25",
license='Apache2.0',
py_modules=['rank_bm25'],
install_requires=['numpy'],
extras_require={
'dev': [
'pytest'
]
}
)