-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version bump and add __version__ function
- Loading branch information
arm61
committed
Jun 11, 2018
1 parent
3a3fa04
commit 545135b
Showing
2 changed files
with
8 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
import webbrowser | ||
|
||
def __cite__(): | ||
webbrowser.open('https://zenodo.org/badge/latestdoi/119863480') | ||
webbrowser.open('https://zenodo.org/badge/latestdoi/119863480') | ||
|
||
def __version__(): | ||
major=0 | ||
minor=0 | ||
micro=22 | ||
print('pylj-{:d}.{:d}.{:d}'.format(major, minor, micro)) |
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