idella4     14/10/30 10:59:05

  Added:                0.5.0-setup.patch
  Log:
  add patch to purge check for previous install from setup.py, fixes Bug #527336
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/bokeh/files/0.5.0-setup.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/files/0.5.0-setup.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/files/0.5.0-setup.patch?rev=1.1&content-type=text/plain

Index: 0.5.0-setup.patch
===================================================================
Remove inappropriate check for a previous install. See Bug #527336
diff -u bokeh-0.5.0.orig/setup.py bokeh-0.5.0/setup.py
--- setup.py    2014-07-09 02:56:57.000000000 +0800
+++ setup.py    2014-10-30 18:31:42.075161454 +0800
@@ -253,12 +253,6 @@
     site_packages = getsitepackages()[0]
 
 bokeh_path = join(site_packages, "bokeh")
-if exists(bokeh_path) and isdir(bokeh_path):
-    val = raw_input("found existing bokeh install, remove it?[y|N]")
-    if val == "y":
-        print ("removing old bokeh install")
-        shutil.rmtree(bokeh_path)
-    print ("not removing old bokeh install")
 
 path_file = join(site_packages, "bokeh.pth")
 path = abspath(dirname(__file__))
Common subdirectories: bokeh-0.5.0.orig/sphinx and bokeh-0.5.0/sphinx




Reply via email to