Updated paths for src directory

This commit is contained in:
Andrew Murray 2017-12-31 07:11:26 +11:00
parent 894ff64cf1
commit 1c60473488
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
clean: clean:
python setup.py clean python setup.py clean
rm PIL/*.so || true rm src/PIL/*.so || true
rm -r build || true rm -r build || true
find . -name __pycache__ | xargs rm -r || true find . -name __pycache__ | xargs rm -r || true

View File

@ -7,7 +7,7 @@ import traceback
import sys import sys
sys.path.insert(0, ".") 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] module = os.path.basename(file)[:-3]
try: try:
exec("from PIL import " + module) exec("from PIL import " + module)