Skip to content

Commit

Permalink
remove versioneer and use miniver instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jbweston committed Feb 24, 2018
1 parent 915a7e0 commit 00152be
Show file tree
Hide file tree
Showing 9 changed files with 168 additions and 2,319 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nord/_version.py export-subst
nord/_static_version.py export-subst
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
include versioneer.py
include LICENSE
7 changes: 3 additions & 4 deletions nord/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""NordVPN client."""

from . import vpn, api
from ._version import __version__
del _version

from ._version import get_versions
__version__ = get_versions()['version'][1:]
del get_versions
from . import vpn, api
12 changes: 12 additions & 0 deletions nord/_static_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# This file is part of 'miniver': https://github.com/jbweston/miniver
#
# This file will be overwritten by setup.py when a source or binary
# distribution is made. The magic value "__use_git__" is interpreted by
# version.py.

version = "__use_git__"

# These values are only set if the distribution was created with 'git archive'
refnames = "$Format:%D$"
git_hash = "$Format:%h$"
Loading

0 comments on commit 00152be

Please sign in to comment.