setuptools.__version__.split('.') can contain non digit strings, like post0 eg:
setuptools.__version__ = '68.2.2.post0' which will create a ValueError when post0 is passed to int when setup.py is run.
this change modifies setup.py so it only converts the first two items from split('.') to ints.
setuptools.__version__.split('.')
can contain non digit strings, likepost0
eg:setuptools.__version__ = '68.2.2.post0'
which will create a ValueError whenpost0
is passed toint
whensetup.py
is run.this change modifies setup.py so it only converts the first two items from
split('.')
to ints.