Skip to content

Commit

Permalink
Merge pull request #1036 from rahkumar651991/versioneer_support
Browse files Browse the repository at this point in the history
Adding versioneer support for PyEz
  • Loading branch information
Nitin Kr committed Jun 11, 2020
2 parents 2f8fe64 + 87b9a1d commit b50bb8c
Show file tree
Hide file tree
Showing 7 changed files with 2,364 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/jnpr/junos/_version.py export-subst
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include requirements.txt
recursive-include lib *.yml
include versioneer.py
4 changes: 4 additions & 0 deletions lib/jnpr/junos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ def emit(self, record):
pass

plog.addHandler(NullHandler())

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions

0 comments on commit b50bb8c

Please sign in to comment.