Skip to content

Commit

Permalink
Added Versioneer to manage version strings automatically. Closes grap…
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudh committed Jun 7, 2016
1 parent 55034f7 commit b47918f
Show file tree
Hide file tree
Showing 7 changed files with 2,274 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graphistry/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include versioneer.py
include graphistry/_version.py
9 changes: 3 additions & 6 deletions graphistry/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
from pkg_resources import get_distribution, DistributionNotFound

try:
__version__ = get_distribution('graphistry').version
except DistributionNotFound:
__version__ = '0.0.0'
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions

from graphistry.pygraphistry import register, bind, edges, nodes, graph, settings
Loading

0 comments on commit b47918f

Please sign in to comment.