Spaces:
Runtime error
Runtime error
from setuptools import setup | |
with open("README.md") as f: | |
long_description = f.read() | |
name = "chatdocs" | |
setup( | |
name=name, | |
version="0.2.5", | |
description="Chat with your documents offline using AI.", | |
long_description=long_description, | |
long_description_content_type="text/markdown", | |
author="Ravindra Marella", | |
author_email="[email protected]", | |
url="https://github.com/marella/{}".format(name), | |
license="MIT", | |
packages=[name], | |
package_data={name: ["data/chatdocs.yml", "data/index.html"]}, | |
entry_points={ | |
"console_scripts": [ | |
f"{name} = {name}.main:app", | |
], | |
}, | |
install_requires=[ | |
"chromadb>=0.3.0,<0.4.0", | |
"ctransformers>=0.2.12,<0.3.0", | |
"deepmerge>=1.1.0,<2.0.0", | |
"InstructorEmbedding>=1.0.1,<2.0.0", | |
"langchain>=0.0.181", | |
"pyyaml>=6.0", | |
"quart>=0.18.3,<0.19.0", | |
"sentence-transformers>=2.2.2,<3.0.0", | |
"tqdm>=4.64.1,<5.0.0", | |
"typer>=0.9.0", | |
"typing-extensions>=4.4.0,<5.0.0", | |
# Document Loaders | |
"extract-msg>=0.41.0,<0.42.0", | |
"pandoc>=2.3,<3.0.0", | |
"pypandoc>=1.11,<2.0.0", | |
"pdfminer.six==20221105", | |
"unstructured>=0.6.0,<0.7.0", | |
# Temporary fix for `rich`, `numpy` version conflicts. | |
"argilla==1.8.0", | |
], | |
extras_require={ | |
"gptq": [ | |
"auto-gptq>=0.2.2,<0.3.0", | |
], | |
"tests": [ | |
"pytest", | |
], | |
}, | |
zip_safe=False, | |
classifiers=[ | |
"Development Status :: 1 - Planning", | |
"Intended Audience :: Developers", | |
"Intended Audience :: Education", | |
"Intended Audience :: Science/Research", | |
"License :: OSI Approved :: MIT License", | |
"Programming Language :: Python :: 3", | |
"Topic :: Scientific/Engineering", | |
"Topic :: Scientific/Engineering :: Mathematics", | |
"Topic :: Scientific/Engineering :: Artificial Intelligence", | |
"Topic :: Software Development", | |
"Topic :: Software Development :: Libraries", | |
"Topic :: Software Development :: Libraries :: Python Modules", | |
], | |
keywords="{} ctransformers transformers langchain chroma ai llm".format(name), | |
) | |