Skip to content

Commit

Permalink
Upgrade the version handling to mirror pylint's
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Feb 28, 2021
1 parent fd90613 commit d866e65
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions astroid/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@

"""astroid packaging information"""

version = "2.6.0-dev"
numversion = tuple(int(elem) for elem in version.split(".") if elem.isdigit())
# For an official release, use dev_version = None
numversion = (2, 6, 0)
dev_version = 1

version = ".".join(str(num) for num in numversion)
if dev_version is not None:
version += "-dev" + str(dev_version)

extras_require = {}
install_requires = [
Expand Down

0 comments on commit d866e65

Please sign in to comment.