mirror of https://github.com/kivy/kivy.git
extensions: setup.py: add kivy.ext to packages. ext/__init__: don't crash if an extension path doesn't exist and cannot be created (Question: should we by default create the extensions/ folder in the kivy base dir...)
This commit is contained in:
parent
416a11fc20
commit
765389d01c
|
@ -203,7 +203,10 @@ def unzip_extensions():
|
||||||
|
|
||||||
for epath in EXTENSION_PATHS:
|
for epath in EXTENSION_PATHS:
|
||||||
if not isdir(epath):
|
if not isdir(epath):
|
||||||
|
try:
|
||||||
mkdir(epath)
|
mkdir(epath)
|
||||||
|
except OSError:
|
||||||
|
continue
|
||||||
files = []
|
files = []
|
||||||
else:
|
else:
|
||||||
files = listdir(epath)
|
files = listdir(epath)
|
||||||
|
|
Loading…
Reference in New Issue