carbon installs itself to /opt/graphite instead of the current virtualenv

Bug #1085571 reported by drewp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Graphite
New
Undecided
Unassigned

Bug Description

mkdir /tmp/fooenv; cd /tmp/fooenv; virtualenv .; bin/pip install carbon

In 0.9.10, that writes to /opt/graphite/bin/carbon-client.py instead of /tmp/fooenv/bin/carbon-client.py. This is more than a little annoying since it may clobber the user's last version of carbon-client.

A workaround is this:
bin/pip install carbon --install-option=--prefix=/tmp/fooenv

I suspect the fix is for https://github.com/graphite-project/carbon/blob/master/setup.cfg to not specify a prefix.

Revision history for this message
drewp (drewp) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.