Skip to content

Commit

Permalink
Prepare for an beta1 release. (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Aug 13, 2020
1 parent 9861fd0 commit 0a56ed1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
@@ -1,6 +1,3 @@
[bdist_wheel]
universal=1

[metadata]
license_file = COPYING.md

Expand Down
16 changes: 14 additions & 2 deletions traitlets/_version.py
@@ -1,2 +1,14 @@
version_info = (5, 0, 0, 'dev')
__version__ = '.'.join(map(str, version_info))
version_info = (5, 0, 0, "b1")

# unlike `.dev`, alpha, beta and rc _must not_ have dots,
# or the wheel and tgz won't look to pip like the same version.

__version__ = (
".".join(map(str, version_info))
.replace(".b", "b")
.replace(".a", "a")
.replace(".rc", "rc")
)
assert ".b" not in __version__
assert ".a" not in __version__
assert ".rc" not in __version__

0 comments on commit 0a56ed1

Please sign in to comment.