From 1c60473488dfda4620771b1a9be788b2ff2a4594 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 31 Dec 2017 07:11:26 +1100 Subject: [PATCH] Updated paths for src directory --- Makefile | 2 +- Tests/import_all.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dcba7d2e8..1e888ee35 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ clean: python setup.py clean - rm PIL/*.so || true + rm src/PIL/*.so || true rm -r build || true find . -name __pycache__ | xargs rm -r || true diff --git a/Tests/import_all.py b/Tests/import_all.py index c5960d8bb..11682237b 100644 --- a/Tests/import_all.py +++ b/Tests/import_all.py @@ -7,7 +7,7 @@ import traceback import sys sys.path.insert(0, ".") -for file in glob.glob("PIL/*.py"): +for file in glob.glob("src/PIL/*.py"): module = os.path.basename(file)[:-3] try: exec("from PIL import " + module)