summaryrefslogtreecommitdiff
path: root/packages/python/python-pylinda/honor-datadir.patch
blob: 90358045921b281c6af6e0c6eb5e1e04d6eff9f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- linda-0.4/setup.py~honor-datadir.patch
+++ linda-0.4/setup.py
@@ -74,7 +74,7 @@
 class myinstall(install):
     def run(self):
         install.run(self)
-
+	return
         print "PyLinda's post-install options"
 
         # the following is taken from the install_scripts standard command
@@ -123,9 +123,9 @@
                      Topic :: System :: Distributed Computing""".split("\n"),
       version="0.4",
       scripts=["linda_server.py"],
-      data_files=[(root_path+"/examples", glob.glob("examples/*.py")),
-                  (root_path+"/doc", glob.glob("doc/html/*")),
-                  (root_path, ["README"])],
+      data_files=[("examples", glob.glob("examples/*.py")),
+                  ("doc", glob.glob("doc/html/*")),
+                  (".", ["README"])],
       ext_modules=ext,
       packages=["linda"],
       package_dir={"linda": ""},