mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Updated paths for src directory
This commit is contained in:
parent
894ff64cf1
commit
1c60473488
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user