Comment 3 for bug 795713

Revision history for this message
chrismd (chrismd) wrote :

Nick I think you're thinking of the URL paths, an attempt was made to make them relative instead of absolute and that ended up getting reverted. The hard-coded filesystem paths however are actually relative, you can install Graphite anywhere and the installation prefix (which is typically "/opt/graphite") gets figured out dynamically.

The reason Graphite doesn't install cleanly in a virtualenv is because there is some ugly stuff done in the webapp's setup.py, including non-code alongside code (like graphTemplates.conf), etc. All of that can be cleaned up and once its done I imagine things should work fine in virtualenv.

First off, graphTemplates.conf should go away, or really just be re-implemented cleanly (it wasn't a bad idea, just poorly implemented). Also it needs to live in $GRAPHITE_ROOT/conf/, not under webapp/.