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:
|
||||
python setup.py clean
|
||||
rm PIL/*.so || true
|
||||
rm src/PIL/*.so || true
|
||||
rm -r build || true
|
||||
find . -name __pycache__ | xargs rm -r || true
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user