summaryrefslogtreecommitdiff
path: root/www/py-graphite-web/files/patch-setup.py
blob: 3068e6dd70928c3d3d92e93d8190e672388510d8 (plain) (blame)
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
--- setup.py.orig	2011-04-03 22:20:03.000000000 -0400
+++ setup.py	2011-05-24 11:48:33.000000000 -0400
@@ -15,11 +15,11 @@
 storage_dirs = []
 
 for subdir in ('whisper', 'lists', 'rrd', 'log', 'log/webapp'):
-  storage_dirs.append( ('storage/%s' % subdir, []) )
+  storage_dirs.append( ('graphite/storage/%s' % subdir, []) )
 
 webapp_content = {}
 
-for root, dirs, files in os.walk('webapp/content'):
+for root, dirs, files in os.walk('graphite/webapp/content'):
   for filename in files:
     filepath = os.path.join(root, filename)
 
@@ -29,7 +29,7 @@
     webapp_content[root].append(filepath)
 
 
-conf_files = [ ('conf', glob('conf/*.example')) ]
+conf_files = [ ('/usr/local/etc/graphite', glob('conf/*.example')) ]
 
 setup(
   name='graphite-web',