Skip to content

Commit

Permalink
PEP440: use .dev0+ in version identifier
Browse files Browse the repository at this point in the history
and `.` within local version identifier, instead of `-`.
  • Loading branch information
johnyf committed Jan 3, 2016
1 parent cd0338b commit 4b3d1c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polytope/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
break

if len(commit_hash) > 0:
version += "-dev-" + commit_hash
version += ".dev0+" + commit_hash
else:
version += "-dev-unknown-commit"
version += ".dev0+unknown.commit"

0 comments on commit 4b3d1c3

Please sign in to comment.