This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathsetup.py
46 lines (44 loc) · 1.48 KB
/
setup.py
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
"""
Script for building and distributing Python packages.
"""
from setuptools import find_packages, setup
VERSION = "0.21.1"
setup(
name="basaran",
version=VERSION,
description="Open-source alternative to the OpenAI text completion API",
long_description="Basaran is an open-source alternative to the OpenAI "
"text completion API. It provides a compatible streaming API for your "
"Hugging Face Transformers-based text generation models.",
author="Hyperonym",
author_email="[email protected]",
license="MIT",
packages=find_packages(),
scripts=["utils/download.py", "utils/render.py"],
include_package_data=True,
python_requires=">=3.8.0",
install_requires=[
"flask-cors",
"flask",
"jinja2",
"safetensors",
"scipy",
"torch",
"transformers",
"waitress",
],
keywords=["api", "huggingface", "nlp", "openai", "transformer"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)