Merge pull request #2916 from radarhere/src

Updated paths for src directory
This commit is contained in:
wiredfool 2018-01-01 14:15:13 +00:00 committed by GitHub
commit 60943fc8bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)