-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (39 loc) · 1.44 KB
/
Copy pathsetup.py
File metadata and controls
41 lines (39 loc) · 1.44 KB
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
from setuptools import setup, find_packages
# Read the long project description
with open("PROJECT_DESCRIPTION.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name='uhsr',
version='0.2.8', # Incremented version to reflect updates
description='Unified Hyperbolic Spectral Retrieval (UHSR) - a novel text retrieval algorithm combining lexical and semantic search.',
long_description=long_description,
long_description_content_type="text/markdown",
author='Vedaant Singh',
url='https://github.com/vedaant00/uhsr',
keywords=[
'uhsr', 'text retrieval', 'BM25', 'FAISS', 'Pinecone', 'vector search',
'semantic search', 'lexical search', 'spectral re-ranking', 'machine learning', 'NLP'
],
packages=find_packages(),
python_requires='>=3.6',
install_requires=[
'numpy',
'sentence-transformers',
'pinecone-client',
'openai'
],
extras_require={
'gpu': ['faiss-gpu'],
'cpu': ['faiss-cpu']
},
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Artificial Intelligence'
],
)