mirror of
https://github.com/erkin/ponysay.git
synced 2025-03-29 14:57:43 +01:00
Updated setup.py (workaround for issue 229)
This adds a workaround for [issue 229](https://github.com/erkin/ponysay/issues/229), placing the line into a `try`-`except` statement so that the installation *shouldn't* come to a halt.
This commit is contained in:
parent
42280dbdb5
commit
9f2a551ffc
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
@ -922,7 +922,10 @@ class Setup():
|
||||||
if target.startswith('./') or target.startswith('../'):
|
if target.startswith('./') or target.startswith('../'):
|
||||||
os.symlink(target, dest)
|
os.symlink(target, dest)
|
||||||
elif '/' not in target:
|
elif '/' not in target:
|
||||||
os.symlink('./' + target, dest)
|
try:
|
||||||
|
os.symlink('./' + target, dest)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
targets = target.split('/')
|
targets = target.split('/')
|
||||||
dests = dest.split('/')
|
dests = dest.split('/')
|
||||||
|
|
Loading…
Add table
Reference in a new issue