mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:07:10 +08:00
Maybe this will go horribly wrong in CI but works fine without it locally! Pull Request resolved: https://github.com/pytorch/pytorch/pull/92738 Approved by: https://github.com/kit1980, https://github.com/seemethere
25 lines
506 B
TOML
25 lines
506 B
TOML
[build-system]
|
|
requires = [
|
|
"setuptools",
|
|
"wheel",
|
|
"astunparse",
|
|
"numpy",
|
|
"ninja",
|
|
"pyyaml",
|
|
"setuptools",
|
|
"cmake",
|
|
"typing_extensions",
|
|
"future",
|
|
"six",
|
|
"requests",
|
|
"dataclasses",
|
|
]
|
|
# Use legacy backend to import local packages in setup.py
|
|
build-backend = "setuptools.build_meta:__legacy__"
|
|
|
|
|
|
[tool.black]
|
|
# Uncomment if pyproject.toml worked fine to ensure consistency with flake8
|
|
# line-length = 120
|
|
target-version = ["py37", "py38", "py39", "py310"]
|