forked from castorini/pyserini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (31 loc) · 1.11 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
import setuptools
with open("project-description.md", "r") as fh:
long_description = fh.read()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
pyserini_packages = setuptools.find_packages()
pyserini_packages.remove('tests')
# For some reason, not automatically discovered
pyserini_packages.append('pyserini.2cr')
setuptools.setup(
name="pyserini",
version="0.24.0",
author="Jimmy Lin",
author_email="jimmylin@uwaterloo.ca",
description="A Python toolkit for reproducible information retrieval research with sparse and dense representations",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/castorini/pyserini",
install_requires=requirements,
packages=pyserini_packages,
package_data={"pyserini": [
"resources/jars/anserini-*-fatjar.jar",
]},
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires='>=3.10',
)