Hi Brian & all,
Thanks for the help so far, I think I am almost there.
I've written the setup.py route off as a failure, as I cannot build older HTCondor versions (even after applying the patches).
Instead, I decided to try out `condaÂbuild` which turned out more successful so far.
I can now install htcondor python bindings on Ubuntu and SL6 under python 2.7 following the instructions in [1] (please give it a try).
However, a few things are missing/out of place:
- probably worth adding more tests if the bindings are working (currently just testing import of htcondor and classad)
- Although boost 1.63 is present & found by cmake, condor still downloads 1.49
- lots of binaries are compiled as well (and installed) - ideally none of this is needed. In addition to preventing themÂfrom overwriting the system ones (condaÂenv will be earlier in PATH), I would like to reduce the current size of 51 MB to around 20 MB if possible.
- condor is installing the python libraries into $PREFIX/lib/python instead of $PREFIX/lib/python2.7 (or $PREFIX/lib/python3.5)
The build file can be found in [2], the full build log in [3] and the currently available builds in [4].
This was an interesting side-project, now it is time to adjust the Luigi PR :).
Cheers,
Luke
[1]
[2]
[3]
[4]