forked from openlp/openlp
Fix setup.py
This commit is contained in:
parent
f71c4cc7af
commit
3f889e08d4
2
setup.py
2
setup.py
@ -105,6 +105,8 @@ try:
|
|||||||
tag_version, tag_revision = tags[-1].split()
|
tag_version, tag_revision = tags[-1].split()
|
||||||
# If they are equal, then this tree is tarball with the source for the release. We do not want the revision number
|
# If they are equal, then this tree is tarball with the source for the release. We do not want the revision number
|
||||||
# in the version string.
|
# in the version string.
|
||||||
|
tree_revision = tree_revision.strip()
|
||||||
|
tag_revision = tag_revision.strip()
|
||||||
if tree_revision == tag_revision:
|
if tree_revision == tag_revision:
|
||||||
version_string = tag_version.decode('utf-8')
|
version_string = tag_version.decode('utf-8')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user