Installation as user fails
Another issue: If I want to install burp-ui as a user, I have two possibilities:
pip install --user burp-ui
or using a virtualenv and executing
pip install burp-ui
in the virtualenv.
Both fail because setup.py tries to install some stuff in /usr/local which is hardcoded. It shouldn't do that anyway, because when installing in a virtualenv as root, it will still put stuff into /usr/local which is completely unexpected and IMHO broken.
I don't have a good solution because distutils kind of sucks for installing data files/documentation. For pip install --user
I'm also not sure where I would expect the files to go instead of /usr/local/share. In case of a virtualenv, I would expect them to go into the share directory inside the virtualenv.