Skip to content

Commit 891c063

Browse files
committed
Change version management to allow clean build
1 parent 8e2d6c2 commit 891c063

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

cid/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from cid.common import Cid
1+
# Declare namespace
22

33
__import__('pkg_resources').declare_namespace(__name__)
4-
5-
__all__ = ["Cid"]

cid/_version.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
__version__ = '0.1.7'

cid/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import click
22

3-
from cid import Cid
3+
from cid.common import Cid
44

5-
__version__ = '0.1.7'
5+
from cid._version import __version__
66

77
version = f'{__version__} Beta'
88
prog_name="CLOUD INTELLIGENCE DASHBOARDS (CID) CLI"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ universal = 1
33

44
[metadata]
55
name = cid-cmd
6-
version = attr: cid.cli.__version__
6+
version = attr: cid._version.__version__
77
keywords = aws, cmd, cli, cost intelligence dashboards
88
description = Cloud Intelligence Dashboards deployment helper tool
99
long_description = file: README.md

0 commit comments

Comments
 (0)