Skip to content

Commit cac42f6

Browse files
committed
Fix pyproject.toml license
Gets rid of the 'deprecated' warnings that pop up multiple times during build/install Bumps setuptools requirement to accept the new format
1 parent 25b3d63 commit cac42f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [
33
"cmake>=3.29,<4.0.0", # For building binary targets in the wheel. 4.0.0 breaks third-party CMake build so temporarily pin the version.
44
"pip>=23", # For building the pip package.
55
"pyyaml", # Imported by the kernel codegen tools.
6-
"setuptools>=63", # For building the pip package contents.
6+
"setuptools>=77.0.3", # For building the pip package contents.
77
"wheel", # For building the pip package archive.
88
"zstd", # Imported by resolve_buck.py.
99
"certifi", # Imported by resolve_buck.py.
@@ -21,7 +21,8 @@ readme = "README-wheel.md"
2121
authors = [
2222
{name="PyTorch Team", email="[email protected]"},
2323
]
24-
license = {file = "LICENSE"}
24+
license = "BSD-3-Clause"
25+
license-files = ["LICENSE"]
2526
keywords = ["pytorch", "machine learning"]
2627
# PyPI package information.
2728
classifiers = [
@@ -33,7 +34,6 @@ classifiers = [
3334
"Intended Audience :: Developers",
3435
"Intended Audience :: Education",
3536
"Intended Audience :: Science/Research",
36-
"License :: OSI Approved :: BSD License",
3737
"Topic :: Scientific/Engineering",
3838
"Topic :: Scientific/Engineering :: Mathematics",
3939
"Topic :: Scientific/Engineering :: Artificial Intelligence",

0 commit comments

Comments
 (0)