DistributedTaskScheduling / JobAdder

Source code of the JobAdder project
GNU General Public License v3.0
2 stars 1 forks source link

Removed hard-coded pip prefix #194

Closed JohannesGaessler closed 4 years ago

JohannesGaessler commented 4 years ago

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.

JohannesGaessler commented 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.