Spaces:
Runtime error
Runtime error
File size: 964 Bytes
d6585f5 |
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 |
import setuptools
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.20.0",
author="Jimmy Lin",
author_email="[email protected]",
description="A Python toolkit for reproducible information retrieval research with sparse and dense representations",
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.8',
)
|