File: noDownloadOfDoc.patch

package info (click to toggle)
pyscanfcs 0.3.6%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,440 kB
  • sloc: python: 2,676; makefile: 59; sh: 11
file content (21 lines) | stat: -rw-r--r-- 731 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Steffen Moeller
Last-Update: 2020-06-30 00:43:47 +0200
Description: don't download .pdf

Index: pyscanfcs/setup.py
===================================================================
--- pyscanfcs.orig/setup.py
+++ pyscanfcs/setup.py
@@ -32,12 +32,6 @@ else:
     # Download documentation if it was not compiled
     pdfdoc = join(dirname(realpath(__file__)), "doc/PyScanFCS_doc.pdf")
     webdoc = "https://github.com/FCS-analysis/PyScanFCS/wiki/PyScanFCS_doc.pdf"
-    if not exists(pdfdoc):
-        print("Downloading {} from {}".format(pdfdoc, webdoc))
-        import urllib
-        #testfile = urllib.URLopener()
-        urllib.request.urlretrieve(webdoc, pdfdoc)
-
 
 author = u"Paul Müller"
 authors = [author]