-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
54 lines (48 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
import setuptools
from neural_cherche.__version__ import __version__
with open(file="README.md", mode="r", encoding="utf-8") as fh:
long_description = fh.read()
base_packages = [
"torch >= 1.13",
"tqdm >= 4.66",
"transformers >= 4.34.0",
"lenlp >= 1.1.1",
"scikit-learn >= 1.5.0",
]
eval = ["ranx >= 0.3.16", "beir >= 2.0.0"]
dev = [
"mkdocs-material == 9.2.8",
"mkdocs-awesome-pages-plugin == 2.9.2",
" mkdocs-jupyter == 0.24.7",
]
setuptools.setup(
name="neural_cherche",
version=f"{__version__}",
license="",
author="Raphael Sourty",
author_email="[email protected]",
description="Sparse Embeddings for Neural Search.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/raphaelsty/neural-cherche",
download_url="https://github.com/user/neural-cherche/archive/v_01.tar.gz",
keywords=[
"neural search",
"information retrieval",
"semantic search",
"SparseEmbed",
"Google Research",
"Splade",
"Stanford",
"ColBERT",
],
packages=setuptools.find_packages(),
install_requires=base_packages,
extras_require={"eval": base_packages + eval, "dev": base_packages + eval + dev},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)