-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (67 loc) · 2.54 KB
/
setup.py
File metadata and controls
72 lines (67 loc) · 2.54 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env python
import os
from setuptools import setup
# Read the contents of README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# Read requirements
with open(os.path.join(this_directory, "requirements.txt"), encoding="utf-8") as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith("#")]
setup(
name="llms-py",
version="3.0.41",
author="ServiceStack",
author_email="team@servicestack.net",
description="A lightweight CLI tool and OpenAI-compatible server for querying multiple Large Language Model (LLM) providers",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ServiceStack/llms",
project_urls={
"Bug Reports": "https://github.com/ServiceStack/llms/issues",
"Source": "https://github.com/ServiceStack/llms",
"Documentation": "https://github.com/ServiceStack/llms#readme",
},
packages=["llms"],
package_data={
"llms": [
"index.html",
"llms.json",
"providers.json",
"providers-extra.json",
"ui/*",
"ui/modules/*",
"ui/lib/*",
]
},
install_requires=requirements,
python_requires=">=3.7",
entry_points={
"console_scripts": [
"llms=llms.main:main",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
"Environment :: Console",
],
keywords="llm ai openai anthropic google gemini groq mistral ollama cli server chat completion",
include_package_data=True,
zip_safe=False,
)