Skip to content

Commit

Permalink
Merge pull request #41 from jlenain/test-version
Browse files Browse the repository at this point in the history
Add test on version
  • Loading branch information
jlenain authored Feb 8, 2023
2 parents 0de67e5 + 5c2f3e1 commit db46cc8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
prune src/nectarchain/_dev_version
prune .github
exclude .gitignore

global-exclude *.pyc *.o
3 changes: 3 additions & 0 deletions src/nectarchain/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .version import __version__

__all__ = ['__version__']
4 changes: 4 additions & 0 deletions src/nectarchain/tests/test_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def test_version():
from nectarchain import __version__

assert __version__ != '0.0.0'

0 comments on commit db46cc8

Please sign in to comment.