Skip to content

Commit

Permalink
version bump and add __version__ function
Browse files Browse the repository at this point in the history
  • Loading branch information
arm61 committed Jun 11, 2018
1 parent 3a3fa04 commit 545135b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion pylj/__init__.py
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))
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# versioning
MAJOR = 0
MINOR = 0
MICRO = 21
MICRO = 22
ISRELEASED = False
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)

Expand Down

0 comments on commit 545135b

Please sign in to comment.