Skip to content

Commit

Permalink
change version number scheme for distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
chaimleib committed Aug 3, 2020
1 parent 5f0138b commit 9084b9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
- Add `__slots__` optimization in Node class, should give performance improvement
- Fixed:
- Restore universal wheels
- Fix bytes/str type incompatibility in setup.py
- Bytes/str type incompatibility in setup.py
- New version of distutils rejects version suffixes of `.postNN`, use `aNN` instead

## Version 3.0.2
- Fixed:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def version_info(target_version):
p = subprocess.Popen('git describe --tag'.split(), stdout=subprocess.PIPE)
git_describe = str(p.communicate()[0]).strip()
release, build, commitish = git_describe.split('-')
version = "{0}.post{1}".format(release, build)
version = "{0}a{1}".format(target_version, build)
else: # This is a RELEASE version
version = target_version
return {
Expand Down

0 comments on commit 9084b9c

Please sign in to comment.