Closed grahampugh closed 2 years ago
Oops, silly me. distutils is only in my fork! Sorry, nothing to see here.
That's what you get for sorting versions.
Looks like it's working with a minimal change:
try:
from packaging.version import Version
except ImportError:
from distutils.version import LooseVersion as Version
(I just have to add packaging
to my relocatable-python).
Just a heads up, in case not already known:
(this is from my fork, so the line number is different, but the output will be the same).