# Reference: https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html # Include source files in SDist 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 build during codegen will fail 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 .gitmodules # Include test suites in SDist graft test include pytest.ini include .coveragerc # Prune generated/compiled files prune torchgen/packaged prune */__pycache__ global-exclude *.o *.obj *.so *.a *.dylib *.pxd *.dll *.lib *.py[cod] prune */.git global-exclude .git *~ *.swp