-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (31 loc) · 1.02 KB
/
setup.py
File metadata and controls
34 lines (31 loc) · 1.02 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
from pathlib import Path
from setuptools import setup, find_packages
here = Path(__file__).parent
packages = find_packages("src")
main_package = packages[0]
long_description = (here / "README.md").read_text()
requirements = (here / "requirements.txt").read_text().splitlines()
# Import the version from the version module
version = {}
with open(here / "src" / "llm_components" / "version.py") as f:
exec(f.read(), version)
setup(
name="llm-components",
version=version["__version__"],
license="MIT",
description="A library of ready-to-use LLM components",
long_description=long_description,
long_description_content_type="text/markdown",
author="P.A. SCHEMBRI",
author_email="pa.schembri@advanced-stack.com",
url="https://github.com/advanced-stack/llm-components",
packages=packages,
package_dir={"": "src"},
include_package_data=True,
install_requires=requirements,
entry_points={
"console_scripts": [
"llm-components=llm_components.cli:main",
],
},
)