mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +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:
|
||||
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