Add licenses for third-party dependencies brought in by Studio.

PiperOrigin-RevId: 934300272
Change-Id: I7be1fccb4a80ea86803696699f53687f7d37da91
This commit is contained in:
Michael Moss
2026-06-18 05:50:20 -07:00
committed by Copybara-Service
parent e2afec9153
commit 1f8c6f1183
+2 -2
View File
@@ -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