-
Notifications
You must be signed in to change notification settings - Fork 389
/
setup.py
40 lines (37 loc) · 1 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
import setuptools
with open("README.md", "r") as f:
long_description = f.read()
package_data = {
"": ["*.cpp", "*.cu"],
}
setuptools.setup(
name="colbert-ai",
version="0.2.20",
author="Omar Khattab",
description="Efficient and Effective Passage Search via Contextualized Late Interaction over BERT",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/stanford-futuredata/ColBERT",
packages=setuptools.find_packages(),
python_requires=">=3.8",
install_requires=[
"bitarray",
"datasets",
"flask",
"git-python",
"python-dotenv",
"ninja",
"scipy",
"tqdm",
"transformers",
"ujson",
],
extras_require={
"faiss-gpu": ["faiss-gpu>=1.7.0"],
"faiss-cpu": ["faiss-cpu>=1.7.0"],
"torch": ["torch==1.13.1"],
},
include_package_data=True,
package_data=package_data,
)