lollms-webui/setup.py

36 lines
1.1 KiB
Python
Raw Normal View History

2023-04-20 17:30:03 +00:00
from pathlib import Path
from typing import Union
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
def read_requirements(path: Union[str, Path]):
with open(path, "r") as file:
return file.read().splitlines()
requirements = read_requirements("requirements.txt")
requirements_dev = read_requirements("requirements_dev.txt")
setuptools.setup(
2023-08-17 23:29:53 +00:00
name="Lollms-webui",
2023-11-06 19:51:39 +00:00
version="5.0.2",
2023-04-20 17:30:03 +00:00
author="Saifeddine ALOUI",
author_email="aloui.saifeddine@gmail.com",
2023-05-25 21:24:14 +00:00
description="A web ui for running chat models with different bindings. Supports multiple personalities and extensions.",
2023-04-20 17:30:03 +00:00
long_description=long_description,
long_description_content_type="text/markdown",
2023-06-08 06:58:02 +00:00
url="https://github.com/ParisNeo/lollms-webui",
2023-04-20 17:30:03 +00:00
packages=setuptools.find_packages(),
install_requires=requirements,
extras_require={"dev": requirements_dev},
classifiers=[
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache 2.0 License",
"Operating System :: OS Independent",
],
)