mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
Fix #200 - Use looseversion if pkg_resources doesn't work
This commit is contained in:
parent
ffe28e6fff
commit
8dc594c055
3 changed files with 18 additions and 3 deletions
|
|
@ -15,7 +15,9 @@ toml
|
|||
lexid
|
||||
colorama>=0.4
|
||||
|
||||
# looseversion is needed to parse non PEP440 versions
|
||||
looseversion; python_version >= "3.5"
|
||||
|
||||
# setuptools is needed for pkg_resources.parse_version
|
||||
# Support for Python 2 was dropped with v45
|
||||
setuptools<45.0.0; python_version < "3.5"
|
||||
setuptools>=45.0.0; python_version >= "3.5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue