Fix for deriving base version for old setuptools
Fix for deriving base version for old setuptools

Old versions of setuptools return a tuple for their
pkg_resources.parse_version method instead of a Version object with
a base_version attribute that we can use to retrieve the base version.

So some manually parsing is needed instead.

senttech/OctoPrint,JackGavin13/octoprint-test-not-finished,MoonshineSG/OctoPrint,JackGavin13/octoprint-test-not-finished,foosel/OctoPrint,bicephale/OctoPrint,beeverycreative/BEEweb,beeverycreative/BEEweb,foosel/OctoPrint,javivi001/OctoPrint,senttech/OctoPrint,foosel/OctoPrint,JackGavin13/octoprint-test-not-finished,shohei/Octoprint,javivi001/OctoPrint,Jaesin/OctoPrint,shohei/Octoprint,beeverycreative/BEEweb,chriskoz/OctoPrint,javivi001/OctoPrint,Salandora/OctoPrint,bicephale/OctoPrint,MoonshineSG/OctoPrint,Salandora/OctoPrint,senttech/OctoPrint,MoonshineSG/OctoPrint,shohei/Octoprint,senttech/OctoPrint,JackGavin13/octoprint-test-not-finished,Salandora/OctoPrint,shohei/Octoprint,beeverycreative/BEEweb,chriskoz/OctoPrint,Jaesin/OctoPrint,Jaesin/OctoPrint,chriskoz/OctoPrint,Salandora/OctoPrint,chriskoz/OctoPrint,shohei/Octoprint,MoonshineSG/OctoPrint,bicephale/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,bicephale/OctoPrint