mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 07:14:20 +00:00
consol_scripts for toolchain
This commit is contained in:
parent
7c69675b79
commit
c6ef16f6bd
1 changed files with 14 additions and 1 deletions
15
setup.py
15
setup.py
|
@ -1,11 +1,24 @@
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
|
# Function to read the requirements.txt file
|
||||||
|
def read_requirements():
|
||||||
|
with open('requirements.txt') as req:
|
||||||
|
content = req.readlines()
|
||||||
|
return [line.strip() for line in content]
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="llama_toolchain",
|
name="llama_toolchain",
|
||||||
version="0.0.0.1",
|
version="0.0.0.1",
|
||||||
author="Meta Llama",
|
author="Meta Llama",
|
||||||
author_email="rsm@meta.com",
|
author_email="rsm@meta.com",
|
||||||
description="Llama toolchain",
|
description="Llama toolchain",
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": [
|
||||||
|
'llama = toolchain.cli.llama:main'
|
||||||
|
]
|
||||||
|
},
|
||||||
long_description=open("README.md").read(),
|
long_description=open("README.md").read(),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/meta-llama/llama-toolchain",
|
url="https://github.com/meta-llama/llama-toolchain",
|
||||||
|
@ -13,6 +26,6 @@ setup(
|
||||||
classifiers=[
|
classifiers=[
|
||||||
],
|
],
|
||||||
python_requires=">=3.10",
|
python_requires=">=3.10",
|
||||||
install_requires=[],
|
install_requires=read_requirements(),
|
||||||
include_package_data=True
|
include_package_data=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue