mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Merge pull request #2916 from radarhere/src
Updated paths for src directory
This commit is contained in:
commit
60943fc8bc
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