summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2018-04-10 18:53:40 -0400
committerSoumith Chintala <soumith@gmail.com>2018-04-10 18:53:40 -0400
commit5f311da75821e9752e2f5018d83ebf4912aa3205 (patch)
treea65c2d5de0bb1780b0af0a8ad11afab370d3c2c3 /.gitignore
parentd4e13a4ec86cc5efd9361f5f1dbbf3dab135f8d2 (diff)
downloadpytorch-5f311da75821e9752e2f5018d83ebf4912aa3205.tar.gz
pytorch-5f311da75821e9752e2f5018d83ebf4912aa3205.tar.bz2
pytorch-5f311da75821e9752e2f5018d83ebf4912aa3205.zip
Make python setup.py clean delete aten/build. (#6487)
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 29eb2fe454..c790697186 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,18 @@
+# READ THIS BEFORE YOU REFACTOR ME
+#
+# setup.py uses the list of patterns in this file to decide
+# what to delete, but it's not 100% sound. So, for example,
+# if you delete aten/build/ because it's redundant with build/,
+# aten/build/ will stop being cleaned. So be careful when
+# refactoring this file!
+
## PyTorch
build/
dist/
torch.egg-info/
*/**/__pycache__
+aten/build/
torch/version.py
torch/csrc/generic/TensorMethods.cpp
torch/lib/*.so*