mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "Use recursive blob for package data (#119257)"
This reverts commit f20e3ae0c36146c962a5665018e9ad662a7cf211. Reverted https://github.com/pytorch/pytorch/pull/119257 on behalf of https://github.com/malfet due to This likely caused https://github.com/pytorch/pytorch/issues/124941, not sure why warning about recursive grep was ignored ([comment](https://github.com/pytorch/pytorch/pull/119257#issuecomment-2078312309))
This commit is contained in:
12
setup.py
12
setup.py
@ -1393,9 +1393,15 @@ def main():
|
||||
]
|
||||
)
|
||||
torchgen_package_data = [
|
||||
"packaged/**/*.cpp",
|
||||
"packaged/**/*.h",
|
||||
"packaged/**/*.yaml",
|
||||
# Recursive glob doesn't work in setup.py,
|
||||
# https://github.com/pypa/setuptools/issues/1806
|
||||
# To make this robust we should replace it with some code that
|
||||
# returns a list of everything under packaged/
|
||||
"packaged/ATen/*",
|
||||
"packaged/ATen/native/*",
|
||||
"packaged/ATen/templates/*",
|
||||
"packaged/autograd/*",
|
||||
"packaged/autograd/templates/*",
|
||||
]
|
||||
setup(
|
||||
name=package_name,
|
||||
|
Reference in New Issue
Block a user