-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (38 loc) · 1.65 KB
/
Copy pathsetup.py
File metadata and controls
45 lines (38 loc) · 1.65 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
42
43
44
45
from __future__ import annotations
import codecs
from os import path
from setuptools import find_packages, setup
from clonellm import __version__
def get_requirements(filename: str) -> list[str]:
return [p for line in open(filename).readlines() if (p := line.replace("\n", "").strip()) and not p.startswith("#")]
setup(
name="clonellm",
version=__version__,
description="Python package to create an AI clone of yourself using LLMs.",
keywords=["python", "ai", "llm", "rag"],
author="Mehdi Samsami",
author_email="mehdisamsami@live.com",
license="MIT License",
url="https://github.com/msamsami/clonellm",
long_description=codecs.open(path.join(path.abspath(path.dirname(__file__)), "README.md"), encoding="utf-8").read(),
long_description_content_type="text/markdown",
include_package_data=True,
package_data={"clonellm": ["py.typed"]},
packages=find_packages(where="src"),
package_dir={"": "src"},
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
python_requires=">=3.10,<3.14",
install_requires=get_requirements("requirements.txt"),
extras_require={"chroma": ["langchain-chroma"], "faiss": ["faiss-cpu"]},
)