Skip to content

Commit 3dd6baa

Browse files
author
Paweł Kędzia
committed
Add packaging configuration (setup.py) and initial .version file for llm-router-plugins
1 parent d504bc6 commit 3dd6baa

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.0.1

setup.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# setup.py
2+
import pathlib
3+
from setuptools import setup, find_packages
4+
5+
# Path to this file's directory
6+
HERE = pathlib.Path(__file__).parent
7+
8+
# Read the README for the long description
9+
LONG_DESCRIPTION = (HERE / "README.md").read_text(encoding="utf-8")
10+
VERSION = (HERE / ".version").read_text(encoding="utf-8")
11+
12+
setup(
13+
name="llm-router-plugins",
14+
version=VERSION,
15+
description="Plugins for the LLM Router (guardrails, maskers, etc.)",
16+
long_description=LONG_DESCRIPTION,
17+
long_description_content_type="text/markdown",
18+
author="RadLab.dev Team",
19+
url="https://github.com/radlab-dev-group/llm-router-plugins",
20+
license="Apache-2.0",
21+
packages=find_packages(exclude=("tests", "docs")),
22+
include_package_data=True,
23+
python_requires=">=3.8",
24+
install_requires=[
25+
],
26+
classifiers=[
27+
"Programming Language :: Python :: 3",
28+
"License :: OSI Approved :: Apache Software License",
29+
"Operating System :: OS Independent",
30+
],
31+
)

0 commit comments

Comments
 (0)