-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (52 loc) · 1.69 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
47
48
49
50
51
52
53
54
55
56
57
from setuptools import find_packages, setup
import re
from os import path
FILE_DIR = path.dirname(path.abspath(path.realpath(__file__)))
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt") as f:
install_requirement = f.readlines()
with open(path.join(FILE_DIR, "lwe", "version.py")) as f:
version = re.match(r'^__version__ = "([\w\.]+)"$', f.read().strip())[1]
setup(
name="llm-workflow-engine",
version=version,
author="Mahmoud Mabrouk, Chad Phillips",
description="CLI tool and workflow manager for common LLMs, with a focus on OpenAI's models",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/llm-workflow-engine/llm-workflow-engine",
packages=find_packages(),
package_data={
"lwe": [
"backends/api/schema/alembic.ini",
"backends/api/schema/alembic/*",
"backends/api/schema/alembic/**/*",
"examples/*",
"examples/**/*",
"tools/*",
"tools/**/*",
"presets/*",
"presets/**/*",
"templates/*",
"templates/**/*",
"workflows/*",
"workflows/**/*",
],
},
install_requires=install_requirement,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
entry_points={
"console_scripts": [
"lwe = lwe.main:main",
],
"lwe_plugins": [],
},
scripts=[],
)