mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #56218 from raddessi/master.v3000-conda
Changed StrictVersion checking of setuptools to LooseVersion
This commit is contained in:
commit
7c4d879073
1 changed files with 1 additions and 2 deletions
3
setup.py
3
setup.py
|
@ -700,8 +700,7 @@ class Install(install):
|
|||
install.finalize_options(self)
|
||||
|
||||
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