From c16f1ff8d02ffe6e71685862b6378b2b7f97a2e1 Mon Sep 17 00:00:00 2001 From: Jonathan Holloway Date: Sun, 4 Feb 2018 21:51:20 -0600 Subject: 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 --- glustolibs-io/setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'glustolibs-io/setup.py') diff --git a/glustolibs-io/setup.py b/glustolibs-io/setup.py index 810ddc5dd..41655dad6 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 -- cgit