From 819d4f978a3eef47685bdf8e6ea0ad7bdde15217 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Wed, 22 Feb 2012 03:41:01 +0000 Subject: Graphite provides real-time visualization and storage of numeric time-series data on an enterprise level. WWW: http://launchpad.net/graphite PR: ports/165285 Submitted by: Evan Sarmiento --- www/py-graphite-web/files/patch-setup.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 www/py-graphite-web/files/patch-setup.py (limited to 'www/py-graphite-web/files/patch-setup.py') diff --git a/www/py-graphite-web/files/patch-setup.py b/www/py-graphite-web/files/patch-setup.py new file mode 100644 index 000000000000..3068e6dd7092 --- /dev/null +++ b/www/py-graphite-web/files/patch-setup.py @@ -0,0 +1,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', -- cgit v1.2.3