mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Revert "[build] modernize build-backend: setuptools.build_meta:__legacy__
-> setuptools.build_meta
(#155998)"
This reverts commit 404008e3efdabeaf5b140a3aff77131461c33a0a.
Reverted https://github.com/pytorch/pytorch/pull/155998 on behalf of https://github.com/malfet due to Broke inductor_cpp, wrapper see e472daa809/1
([comment](https://github.com/pytorch/pytorch/pull/155998#issuecomment-3032915058))
This commit is contained in:
73
MANIFEST.in
73
MANIFEST.in
@ -1,50 +1,31 @@
|
||||
# Reference: https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html
|
||||
|
||||
# Include source files in SDist
|
||||
include MANIFEST.in
|
||||
include CMakeLists.txt
|
||||
include *.bzl *.bazel .bazel* BUILD *.BUILD BUILD.* WORKSPACE
|
||||
include BUCK BUCK.*
|
||||
include requirements*.txt
|
||||
include version.txt
|
||||
include [Mm]akefile *.[Mm]akefile [Mm]akefile.*
|
||||
include [Dd]ockerfile *.[Dd]ockerfile [Dd]ockerfile.* .dockerignore
|
||||
graft android
|
||||
graft aten
|
||||
graft binaries
|
||||
graft c10
|
||||
graft caffe2
|
||||
graft cmake
|
||||
graft functorch
|
||||
graft third_party
|
||||
graft tools
|
||||
graft torch
|
||||
graft torchgen
|
||||
# FIXME: torch-xla codegen build failure if include this file in wheel
|
||||
exclude torchgen/BUILD.bazel
|
||||
|
||||
# Misc files and directories in SDist
|
||||
include *.md
|
||||
include CITATION.cff
|
||||
include LICENSE NOTICE
|
||||
include mypy*.ini
|
||||
graft benchmarks
|
||||
graft docs
|
||||
graft mypy_plugins
|
||||
graft scripts
|
||||
|
||||
# Misc files needed for custom setuptools command
|
||||
include .gitignore
|
||||
include LICENSE
|
||||
include NOTICE
|
||||
include .gitmodules
|
||||
|
||||
# Include test suites in SDist
|
||||
graft test
|
||||
include pytest.ini
|
||||
include .coveragerc
|
||||
|
||||
# Prune generated/compiled files
|
||||
prune torchgen/packaged
|
||||
include build_variables.bzl
|
||||
include mypy.ini
|
||||
include requirements.txt
|
||||
include ufunc_defs.bzl
|
||||
include version.txt
|
||||
recursive-include android *.*
|
||||
recursive-include aten *.*
|
||||
recursive-include binaries *.*
|
||||
recursive-include c10 *.*
|
||||
recursive-include caffe2 *.*
|
||||
recursive-include cmake *.*
|
||||
recursive-include torch *.*
|
||||
recursive-include tools *.*
|
||||
recursive-include test *.*
|
||||
recursive-include docs *.*
|
||||
recursive-include ios *.*
|
||||
recursive-include third_party *
|
||||
recursive-include test *.*
|
||||
recursive-include benchmarks *.*
|
||||
recursive-include scripts *.*
|
||||
recursive-include mypy_plugins *.*
|
||||
recursive-include modules *.*
|
||||
recursive-include functorch *.*
|
||||
prune */__pycache__
|
||||
global-exclude *.o *.obj *.so *.a *.dylib *.pxd *.dll *.lib *.py[cod]
|
||||
|
||||
prune */.git
|
||||
global-exclude .git *~ *.swp
|
||||
global-exclude *.o *.so *.dylib *.a .git *.pyc *.swp
|
||||
|
Reference in New Issue
Block a user