Skip to content

Commit

Permalink
added support for versioning. Can now access pyvis.__version__
Browse files Browse the repository at this point in the history
  • Loading branch information
Giancarlo Perrone committed Dec 6, 2018
1 parent b45de26 commit 0237a34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyvis/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from . import network
from . import network
from ._version import __version__
1 change: 1 addition & 0 deletions pyvis/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.1.4.1'
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from setuptools import setup, find_packages

exec(open('pyvis/_version.py').read())
setup(
name="pyvis",
version="0.1.4.1",
version=__version__,
description="A Python network visualization library",
url="https://github.com/WestHealth/pyvis",
author="Giancarlo Perrone",
Expand Down

0 comments on commit 0237a34

Please sign in to comment.