Skip to content

Commit

Permalink
Move version number to __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricege committed May 22, 2019
1 parent 5828ac5 commit 79fdfad
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .bumpversion.cfg
Expand Up @@ -4,4 +4,5 @@ tag = False
current_version = 0.5.3

[bumpversion:file:setup.py]
[bumpversion:file:src/deepspectrum/__init__.py]

1 change: 1 addition & 0 deletions deepspectrum-feedstock
Submodule deepspectrum-feedstock added at 68c4ac
2 changes: 1 addition & 1 deletion environment.yml
Expand Up @@ -13,7 +13,7 @@ dependencies:
- opencv>=4.1.0
- pillow>=6.0.0
- scipy>=1.2.1
- tensorflow-gpu>=1.12.0
- tensorflow-gpu>=1.13.0
- tqdm>=4.32.1
- pip:
- .
3 changes: 2 additions & 1 deletion src/deepspectrum/__init__.py
@@ -1,4 +1,5 @@
import logging
import sys

logging.basicConfig(stream=sys.stdout, level=logging.INFO)
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
__version__ = '0.5.3'
3 changes: 1 addition & 2 deletions src/deepspectrum/__main__.py
Expand Up @@ -7,8 +7,7 @@
from deepspectrum.cli.image_features import image_features
from deepspectrum.cli.plot import plot
from deepspectrum.cli.utils import add_options

VERSION = pkg_resources.require("DeepSpectrum")[0].version
from deepspectrum import __version__ as VERSION

_global_options = [
click.option('-v', '--verbose', count=True),
Expand Down

0 comments on commit 79fdfad

Please sign in to comment.