Skip to content

Commit

Permalink
Change version management to allow clean build
Browse files Browse the repository at this point in the history
  • Loading branch information
darken99 committed Jan 5, 2022
1 parent 8e2d6c2 commit 891c063
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 1 addition & 3 deletions cid/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from cid.common import Cid
# Declare namespace

__import__('pkg_resources').declare_namespace(__name__)

__all__ = ["Cid"]
2 changes: 2 additions & 0 deletions cid/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

__version__ = '0.1.7'
4 changes: 2 additions & 2 deletions cid/cli.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import click

from cid import Cid
from cid.common import Cid

__version__ = '0.1.7'
from cid._version import __version__

version = f'{__version__} Beta'
prog_name="CLOUD INTELLIGENCE DASHBOARDS (CID) CLI"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ universal = 1

[metadata]
name = cid-cmd
version = attr: cid.cli.__version__
version = attr: cid._version.__version__
keywords = aws, cmd, cli, cost intelligence dashboards
description = Cloud Intelligence Dashboards deployment helper tool
long_description = file: README.md
Expand Down

0 comments on commit 891c063

Please sign in to comment.