Skip to content

Commit

Permalink
Correct versioning in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayitzin committed Aug 14, 2020
1 parent b8dadf7 commit 31625f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ahrs/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
RELEASE = "rc1"

def get_version(short=False):
if short or RELEASE == "0":
if short or RELEASE=="0":
return "{}.{}.{}".format(MAJOR, MINOR, PATCH)
return "{}.{}.{}-{}".format(MAJOR, MINOR, PATCH, RELEASE)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import sys
from setuptools import setup, find_packages
from .ahrs import get_version
from ahrs.versioning import get_version

if sys.version_info < (3, 6):
raise SystemError("Python version >= 3.6 required.")
Expand Down

0 comments on commit 31625f0

Please sign in to comment.