Hence the deliberate 'not in sys.path' which should mean that it won't add the lib root to the path if it's already there. Therefore being somewhat nicer for packaged versions, no?
I should note that this is the first time I've ever done anything in distutils so there's bound to be something better. I just knocked this up to see if it were possible in a sane amount of code.
Yes, the = None makes sense.
Hence the deliberate 'not in sys.path' which should mean that it won't add the lib root to the path if it's already there. Therefore being somewhat nicer for packaged versions, no?
I should note that this is the first time I've ever done anything in distutils so there's bound to be something better. I just knocked this up to see if it were possible in a sane amount of code.