forked from olom/ipykernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update version str to be pep 440 complient, start beta1
- Loading branch information
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
version_info = (5, 0, 0, 'dev') | ||
__version__ = '.'.join(map(str, version_info)) | ||
version_info = (5, 0, 0, 'b1') | ||
__version__ = '.'.join(map(str, version_info[:3])) | ||
|
||
# pep440 is annoying, beta/alpha/rc should _not_ have dots or pip/setuptools | ||
# confuses which one between the wheel and sdist is the most recent. | ||
if len(version_info) == 4: | ||
extra = version_info[3] | ||
if extra.startswith(('a','b','rc')): | ||
__version__ = __version__+extra | ||
else: | ||
__version__ = __version__+'.'+extra | ||
if len(version_info) > 4: | ||
raise NotImplementedError | ||
|
||
kernel_protocol_version_info = (5, 1) | ||
kernel_protocol_version = '%s.%s' % kernel_protocol_version_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters