From 1f8c6f1183cfdb82c358eabdca86dde0942b32a4 Mon Sep 17 00:00:00 2001 From: Michael Moss Date: Thu, 18 Jun 2026 05:50:20 -0700 Subject: [PATCH] Add licenses for third-party dependencies brought in by Studio. PiperOrigin-RevId: 934300272 Change-Id: I7be1fccb4a80ea86803696699f53687f7d37da91 --- python/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/setup.py b/python/setup.py index e2babe55..02153019 100644 --- a/python/setup.py +++ b/python/setup.py @@ -41,10 +41,10 @@ EXT_PREFIX = 'mujoco.' def get_long_description(): """Creates a long description for the package from bundled markdown files.""" current_dir = os.path.dirname('__file__') - with open(os.path.join(current_dir, 'README.md')) as f: + with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f: description = f.read() try: - with open(os.path.join(current_dir, 'LICENSES_THIRD_PARTY.md')) as f: + with open(os.path.join(current_dir, 'LICENSES_THIRD_PARTY.md'), encoding='utf-8') as f: description = f'{description}\n{f.read()}' except FileNotFoundError: pass