mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE] fix PYPROJECT
linting errors in test/
and tools/
(#156021)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156021 Approved by: https://github.com/Skylion007
This commit is contained in:
committed by
PyTorch MergeBot
parent
4cbbc8b458
commit
d5b4a32960
@ -1,6 +1,22 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools>=42",
|
||||
"wheel"
|
||||
]
|
||||
requires = ["setuptools>=77"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "coverage-plugins"
|
||||
version = "0.0.1"
|
||||
description = "Plug-in to coverage for PyTorch JIT"
|
||||
readme = "README.md"
|
||||
license = "MIT"
|
||||
authors = [{ name = "PyTorch Team", email = "packages@pytorch.org" }]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/pytorch/pytorch"
|
||||
"Issue Tracker" = "https://github.com/pytorch/pytorch/issues"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
@ -1,27 +0,0 @@
|
||||
import setuptools # type: ignore[import]
|
||||
|
||||
|
||||
with open("README.md", encoding="utf-8") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
setuptools.setup(
|
||||
name="coverage-plugins",
|
||||
version="0.0.1",
|
||||
author="PyTorch Team",
|
||||
author_email="packages@pytorch.org",
|
||||
description="plug-in to coverage for PyTorch JIT",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/pytorch/pytorch",
|
||||
project_urls={
|
||||
"Bug Tracker": "https://github.com/pytorch/pytorch/issues",
|
||||
},
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
],
|
||||
package_dir={"": "src"},
|
||||
packages=setuptools.find_packages(where="src"),
|
||||
python_requires=">=3.6",
|
||||
)
|
Reference in New Issue
Block a user