Skip to content

Commit

Permalink
Add versioneer version control
Browse files Browse the repository at this point in the history
Setup package for Versioner
[https://github.com/warner/python-versioneer] automated VCS version
management.
  • Loading branch information
cmlccie committed Sep 12, 2016
1 parent f1d27c4 commit 7560166
Show file tree
Hide file tree
Showing 7 changed files with 2,281 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ciscosparkapi/_version.py export-subst
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include LICENSE.txt
include versioneer.py
include ciscosparkapi/_version.py
6 changes: 5 additions & 1 deletion ciscosparkapi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Versioneer version control
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions

from exceptions import ciscosparkapiException, SparkApiError
from restsession import RestSession
from api.accesstokens import AccessToken, AccessTokensAPI
Expand Down Expand Up @@ -52,4 +57,3 @@ def base_url(self):
@property
def timeout(self):
return self.session.timeout

Loading

0 comments on commit 7560166

Please sign in to comment.