mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Changed StrictVersion checking of setuptools to LooseVersion
This commit is contained in:
parent
9adc2214c3
commit
31bb0f7cd1
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -701,7 +701,7 @@ class Install(install):
|
|||
|
||||
def run(self):
|
||||
from distutils.version import StrictVersion
|
||||
if StrictVersion(setuptools.__version__) < StrictVersion('9.1'):
|
||||
if LooseVersion(setuptools.__version__) < LooseVersion('9.1'):
|
||||
sys.stderr.write(
|
||||
'\n\nInstalling Salt requires setuptools >= 9.1\n'
|
||||
'Available setuptools version is {}\n\n'.format(setuptools.__version__)
|
||||
|
|
Loading…
Add table
Reference in a new issue