From a3e4ff652fee972fc546339360a122d23bca6810 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 31 Mar 2018 14:19:27 +0300 Subject: [PATCH] .gitignore review --- .gitignore | 38 +++++++++++++++------------- depends/install_extra_test_images.sh | 2 ++ 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 242f50845..e2c9be2f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,25 +1,26 @@ # Byte-compiled / optimized / DLL files __pycache__/ -*.py[cod] +/*.py[cod] +/src/PIL/*.py[cod] +/Tests/*.py[cod] # C extensions -*.so +/src/PIL/*.so # Distribution / packaging +/build/ +/dist/ +/src/*.egg-info/ +/env/ .eggs/ .Python -env/ -bin/ -build/ develop-eggs/ -dist/ eggs/ lib/ lib64/ parts/ sdist/ var/ -*.egg-info/ .installed.cfg *.egg @@ -35,8 +36,18 @@ htmlcov/ nosetests.xml coverage.xml -# Test files -test_images +# Extra test images installed from pillow-depends/test_images +/depends/test_images +/Tests/images/README.md +/Tests/images/msp +/Tests/images/picins +/Tests/images/sunraster + +# Sphinx documentation +/docs/_build/ + + +# Common ignores # Translations *.mo @@ -53,9 +64,6 @@ test_images *.log *.pot -# Sphinx documentation -docs/_build/ - # Vim cruft .*.swp @@ -72,9 +80,3 @@ docs/_build/ # JetBrains .idea - -# Extra test images installed from pillow-depends/test_images -Tests/images/README.md -Tests/images/msp -Tests/images/picins -Tests/images/sunraster diff --git a/depends/install_extra_test_images.sh b/depends/install_extra_test_images.sh index 667c74e6d..1e83e6308 100755 --- a/depends/install_extra_test_images.sh +++ b/depends/install_extra_test_images.sh @@ -7,3 +7,5 @@ rm -r test_images svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images cp -r test_images/* ../Tests/images + +rm -r test_images