-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
59 lines (54 loc) · 1.2 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
55
56
57
58
59
from setuptools import setup, find_packages
import glob
import os
build_requires = [
'pandas',
'datasets',
'sentence-transformers',
'setfit==1.0.2',
'onnx==1.14.0',
'onnxruntime==1.15.1',
'tqdm',
'scikit-learn',
'huggingface_hub==0.23.5',
'accelerate',
'ollama',
'matplotlib',
'chardet',
'openai==1.37.1',
'anthropic',
'onnxconverter-common',
'faiss-cpu',
'nlpaug',
'kneed'
]
route_requires = [
'numpy==1.24.4',
'tokenizers==0.19.1',
'onnxruntime==1.15.1',
'joblib==1.4.2',
'faiss-cpu',
'seaborn',
]
setup(
name='Route0x',
version='0.1.1',
description='Low latency, High Accuracy, Custom Query routers.',
packages=find_packages(where="src"),
package_dir={'': 'src'},
install_requires=[],
extras_require={
'build': build_requires,
'route': route_requires,
},
package_data={
'route0x.route_builder': ['*.json', 'data/*']
},
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.8',
)