Hey guys, I've created a new branch, lp:~graphite-dev/graphite/debian-packaging, and applied Arthur's patch to it. I think this is close to being ready with just a couple issues in python-path.patch.
First is the change to use relative paths in the import statements. I think I know why you had to do this in your setup Arthur, the graphite-vhost you included in the patch has the following line in it:
In order for 'import graphite.xyz' statements to work it would have to be this instead:
PythonPath "['/usr/share/pyshared'] + sys.path"
I've made this change in the branch and updated python-path.patch to not change any import paths, now it only changes the storage/content directory paths in settings.py. Let me know if this works for you.
Hey guys, I've created a new branch, lp:~graphite-dev/graphite/debian-packaging, and applied Arthur's patch to it. I think this is close to being ready with just a couple issues in python-path.patch.
First is the change to use relative paths in the import statements. I think I know why you had to do this in your setup Arthur, the graphite-vhost you included in the patch has the following line in it:
PythonPath "['/usr/ share/pyshared/ graphite' ] + sys.path"
In order for 'import graphite.xyz' statements to work it would have to be this instead:
PythonPath "['/usr/ share/pyshared' ] + sys.path"
I've made this change in the branch and updated python-path.patch to not change any import paths, now it only changes the storage/content directory paths in settings.py. Let me know if this works for you.
Thanks