| 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
| 2 | # All rights reserved. |
| 3 | # |
| 4 | # This source code is licensed under the terms described in the LICENSE file in |
| 5 | # the root directory of this source tree. |
| 6 | |
| 7 | from setuptools import find_packages, setup |
| 8 | |
| 9 | |
| 10 | # Function to read the requirements.txt file |
| 11 | def read_requirements(): |
| 12 | with open("requirements.txt") as req: |
| 13 | content = req.readlines() |
| 14 | return [line.strip() for line in content] |
| 15 | |
| 16 | |
| 17 | setup( |
| 18 | name="llama_stack", |
| 19 | version="0.0.18", |
| 20 | author="Meta Llama", |
| 21 | author_email="llama-oss@meta.com", |
| 22 | description="Llama Stack", |
| 23 | entry_points={ |
| 24 | "console_scripts": [ |
| 25 | "llama = llama_stack.cli.llama:main", |
| 26 | "install-wheel-from-presigned = llama_stack.cli.scripts.run:install_wheel_from_presigned", |
| 27 | ] |
| 28 | }, |
| 29 | long_description=open("README.md").read(), |
| 30 | long_description_content_type="text/markdown", |
| 31 | url="https://github.com/meta-llama/llama-stack", |
| 32 | packages=find_packages(), |
| 33 | classifiers=[], |
| 34 | python_requires=">=3.10", |
| 35 | install_requires=read_requirements(), |
| 36 | include_package_data=True, |
| 37 | ) |