summaryrefslogtreecommitdiffstats
path: root/glustolibs-io
diff options
context:
space:
mode:
authorJonathan Holloway <jholloway@redhat.com>2018-02-04 21:51:20 -0600
committerNigel Babu <nigelb@redhat.com>2018-02-06 05:40:24 +0000
commitc16f1ff8d02ffe6e71685862b6378b2b7f97a2e1 (patch)
treead4c568bf9080cc9fb8637d48c0a50a4df0595b6 /glustolibs-io
parent1b5d406a6c44c269ed931c5ce038436d9fd969f3 (diff)
readthedocs.org fix /usr/share cannot open error
Add a try around dir copy to eliminate readthedocs.org cannot open error Change-Id: Ie9160a8b7dc42839fe4c176c89aa67ae26c1266e Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
Diffstat (limited to 'glustolibs-io')
-rw-r--r--glustolibs-io/setup.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/glustolibs-io/setup.py b/glustolibs-io/setup.py
index 810ddc5..41655da 100644
--- a/glustolibs-io/setup.py
+++ b/glustolibs-io/setup.py
@@ -19,7 +19,7 @@ import os
from setuptools import setup, find_packages
from distutils import dir_util
-version = '0.1.1'
+version = '0.1.2'
name = 'glustolibs-io'
setup(
@@ -47,4 +47,8 @@ setup(
dependency_links=['http://github.com/loadtheaccumulator/glusto/tarball/master#egg=glusto'],
namespace_packages = ['glustolibs']
)
-dir_util.copy_tree('./shared_files', '/usr/share/glustolibs/io')
+
+try:
+ dir_util.copy_tree('./shared_files', '/usr/share/glustolibs/io')
+except:
+ pass