Skip to content

Commit

Permalink
Expose __version__ attribute in the san module
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanIvanoff committed May 11, 2023
1 parent a7d6507 commit 4d56a66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions san/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
ApiConfig.api_key = SANPY_APIKEY

PROJECT = 'sanpy'
__version__ = '0.11.6'

def get_latest():
url = 'https://pypi.python.org/pypi/%s/json' % (PROJECT)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name='sanpy',
version='0.11.6',
version=getattr(san, '__version__'),
author='Santiment',
author_email='[email protected]',
description='Package for Santiment API access with python',
Expand Down

0 comments on commit 4d56a66

Please sign in to comment.