Change the license field in pyproject.toml to SPDX string.

According to the deprecation warning, support for the old way of declaring the license will be removed from setuptools on 2026-Feb-18.

PiperOrigin-RevId: 791716539
Change-Id: Iaf9ec55f9425380b017bd7ea370cd481ed01aa8f
This commit is contained in:
Saran Tunyasuvunakool
2025-08-06 09:10:10 -07:00
committed by Copybara-Service
parent 2e60d05887
commit 21a7ac7dd9
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -10,12 +10,11 @@ authors = [
] ]
description = "MuJoCo XLA (MJX)" description = "MuJoCo XLA (MJX)"
readme = {file = "README.md", content-type = "text/markdown"} readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "Apache License 2.0"} license = "Apache-2.0"
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English", "Natural Language :: English",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
+1 -2
View File
@@ -10,12 +10,11 @@ authors = [
] ]
description = "MuJoCo Physics Simulator" description = "MuJoCo Physics Simulator"
requires-python = ">=3.9" requires-python = ">=3.9"
license = {text = "Apache License 2.0"} license = "Apache-2.0"
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English", "Natural Language :: English",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",