From 9f2a551ffcbfb9c8f2746cbb57793923e5770a57 Mon Sep 17 00:00:00 2001 From: Joe Glancy Date: Sun, 6 Dec 2015 22:21:08 +0000 Subject: [PATCH] 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. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6edd7495..323be838 100755 --- a/setup.py +++ b/setup.py @@ -922,7 +922,10 @@ class Setup(): if target.startswith('./') or target.startswith('../'): os.symlink(target, dest) elif '/' not in target: - os.symlink('./' + target, dest) + try: + os.symlink('./' + target, dest) + except: + pass else: targets = target.split('/') dests = dest.split('/')