2022-08-02 17:23:05 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2022-08-02 19:26:31 +00:00
|
|
|
from pathlib import Path
|
|
|
|
this_directory = Path(__file__).parent
|
|
|
|
|
2022-08-02 17:23:05 +00:00
|
|
|
setup(
|
2022-08-02 19:26:31 +00:00
|
|
|
name='khoj-assistant',
|
2022-08-16 14:37:41 +00:00
|
|
|
version='0.1.6',
|
2022-08-02 17:23:05 +00:00
|
|
|
description="A natural language search engine for your personal notes, transactions and images",
|
2022-08-02 19:26:31 +00:00
|
|
|
long_description=(this_directory / "Readme.md").read_text(encoding="utf-8"),
|
2022-08-02 17:23:05 +00:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
author='Debanjum Singh Solanky, Saba Imran',
|
2022-08-02 19:26:31 +00:00
|
|
|
author_email='debanjum+pypi@gmail.com, narmiabas@gmail.com',
|
2022-08-02 17:23:05 +00:00
|
|
|
url='https://github.com/debanjum/khoj',
|
|
|
|
license="GPLv3",
|
2022-08-02 19:26:31 +00:00
|
|
|
keywords="search semantic-search productivity NLP org-mode markdown beancount images",
|
2022-08-03 18:47:53 +00:00
|
|
|
python_requires=">=3.8, <4",
|
2022-08-02 17:23:05 +00:00
|
|
|
packages=find_packages(
|
|
|
|
where=".",
|
|
|
|
exclude=["tests*"],
|
|
|
|
include=["src*"]
|
|
|
|
),
|
|
|
|
install_requires=[
|
|
|
|
"numpy == 1.22.4",
|
|
|
|
"torch == 1.11.0",
|
|
|
|
"torchvision == 0.12.0",
|
|
|
|
"transformers == 4.21.0",
|
|
|
|
"sentence-transformers == 2.1.0",
|
|
|
|
"openai == 0.20.0",
|
|
|
|
"huggingface_hub == 0.8.1",
|
|
|
|
"pydantic == 1.9.1",
|
|
|
|
"fastapi == 0.77.1",
|
|
|
|
"uvicorn == 0.17.6",
|
|
|
|
"jinja2 == 3.1.2",
|
|
|
|
"pyyaml == 6.0",
|
|
|
|
"pytest == 7.1.2",
|
2022-08-17 16:53:44 +00:00
|
|
|
"pillow == 9.2.0",
|
2022-08-02 17:23:05 +00:00
|
|
|
"aiofiles == 0.8.0",
|
|
|
|
"dateparser == 1.1.1",
|
2022-08-05 20:49:48 +00:00
|
|
|
"pyqt6 == 6.3.1",
|
2022-08-02 17:23:05 +00:00
|
|
|
],
|
2022-08-02 21:02:39 +00:00
|
|
|
include_package_data=True,
|
2022-08-02 17:23:05 +00:00
|
|
|
entry_points={"console_scripts": ["khoj = src.main:run"]},
|
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
2022-08-02 18:12:27 +00:00
|
|
|
"Programming Language :: Python :: 3.10",
|
2022-08-02 17:23:05 +00:00
|
|
|
]
|
|
|
|
)
|