Closed JohannesGaessler closed 4 years ago
One of the unittests that should be completely unrelated to the pip change was failing. I suspect that the test had a race condition due to strict timings. Setting loose timings seems to have fixed the test.
Currently the install script uses /usr as the hard-coded pip prefix. However, when I installed JobAdder with this prefix on my SBC my python installation (and pip3) was not able to find it afterwards. The operating system in use was a derivative of Ubuntu 16.04.
This PR removes the hard-coded prefix for the pip installation and instead lets pip decide where to install JobAdder. Since the script is executed as root this will still be a system-wide installation.