2022-08-02 19:23:05 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2022-08-02 21:26:31 +02:00
|
|
|
from pathlib import Path
|
|
|
|
this_directory = Path(__file__).parent
|
|
|
|
|
2022-08-02 19:23:05 +02:00
|
|
|
setup(
|
2022-08-02 21:26:31 +02:00
|
|
|
name='khoj-assistant',
|
2023-02-09 00:24:36 +01:00
|
|
|
version='0.3.0',
|
2022-08-02 19:23:05 +02:00
|
|
|
description="A natural language search engine for your personal notes, transactions and images",
|
2023-01-28 00:01:31 +01:00
|
|
|
long_description=(this_directory / "README.md").read_text(encoding="utf-8"),
|
2022-08-02 19:23:05 +02:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
author='Debanjum Singh Solanky, Saba Imran',
|
2022-08-02 21:26:31 +02:00
|
|
|
author_email='debanjum+pypi@gmail.com, narmiabas@gmail.com',
|
2022-08-02 19:23:05 +02:00
|
|
|
url='https://github.com/debanjum/khoj',
|
|
|
|
license="GPLv3",
|
2022-08-02 21:26:31 +02:00
|
|
|
keywords="search semantic-search productivity NLP org-mode markdown beancount images",
|
2023-02-07 03:11:51 +01:00
|
|
|
python_requires=">=3.8, <3.11",
|
2022-08-02 19:23:05 +02:00
|
|
|
packages=find_packages(
|
|
|
|
where=".",
|
|
|
|
exclude=["tests*"],
|
|
|
|
include=["src*"]
|
|
|
|
),
|
|
|
|
install_requires=[
|
2023-01-05 19:09:06 +01:00
|
|
|
"torch == 1.13.1",
|
2023-02-12 17:40:47 +01:00
|
|
|
"sentence-transformers == 2.2.2",
|
2022-08-02 19:23:05 +02:00
|
|
|
"openai == 0.20.0",
|
|
|
|
"pydantic == 1.9.1",
|
|
|
|
"fastapi == 0.77.1",
|
|
|
|
"uvicorn == 0.17.6",
|
|
|
|
"jinja2 == 3.1.2",
|
|
|
|
"pyyaml == 6.0",
|
|
|
|
"pytest == 7.1.2",
|
2023-01-05 19:09:06 +01:00
|
|
|
"pillow == 9.3.0",
|
2022-08-02 19:23:05 +02:00
|
|
|
"dateparser == 1.1.1",
|
2022-08-05 22:49:48 +02:00
|
|
|
"pyqt6 == 6.3.1",
|
2022-09-14 12:22:27 +02:00
|
|
|
"defusedxml == 0.7.1",
|
2023-01-01 20:22:35 +01:00
|
|
|
'schedule == 1.1.0',
|
2022-08-02 19:23:05 +02:00
|
|
|
],
|
2022-08-02 23:02:39 +02:00
|
|
|
include_package_data=True,
|
2022-08-02 19:23:05 +02: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 20:12:27 +02:00
|
|
|
"Programming Language :: Python :: 3.10",
|
2022-08-02 19:23:05 +02:00
|
|
|
]
|
|
|
|
)
|