consol_scripts for toolchain

This commit is contained in:
Hardik Shah 2024-07-21 17:39:47 -07:00
parent 7c69675b79
commit c6ef16f6bd

View file

@ -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
) )