From e0d52d7becf19dc6441d6ac0ed88b947dbcadbff Mon Sep 17 00:00:00 2001 From: Brian Abbott Date: Sun, 5 Jan 2025 01:30:11 -0800 Subject: [PATCH] adding encoding specifier to open().read() call in order to prevent the windows UnicodeDecodeError --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c0f8cf575..e5da183d6 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( "install-wheel-from-presigned = llama_stack.cli.scripts.run:install_wheel_from_presigned", ] }, - long_description=open("README.md").read(), + long_description=open("README.md", encoding='utf-8').read(), long_description_content_type="text/markdown", url="https://github.com/meta-llama/llama-stack", packages=find_packages(),