The paths are also hardcoded in setup.cfg. This file is included in source distribution and I think this prevents 'pip install graphite-web' because there is no way to override values defined in this file (or at least I can't find one).
I was able to install graphite to virtualenv this way:
1. Download the source tarball from pypi;
2. remove the setup.cfg file;
3. run setup.py with --prefix and --install-lib params:
The paths are also hardcoded in setup.cfg. This file is included in source distribution and I think this prevents 'pip install graphite-web' because there is no way to override values defined in this file (or at least I can't find one).
I was able to install graphite to virtualenv this way:
1. Download the source tarball from pypi;
2. remove the setup.cfg file;
3. run setup.py with --prefix and --install-lib params:
python setup.py install --prefix= /Users/ kmike/envs/ zina/graphite --install- lib=/Users/ kmike/envs/ zina/graphite/ webapp
After that,
run-graphite- devel-server. py /Users/ kmike/envs/ zina/graphite
seems to work but I haven't dig deeper.
So I think it will be possible to install graphite-web to virtualenv using pip by just removing setup.cfg from the source distribution:
pip install graphite-web --install- option= "--prefix= <env>/graphite" --install- option= "--install- lib=<env_ path>/graphite/ webapp"