diff --git a/kivycharts/__init__.py b/kivycharts/__init__.py index e69de29..58f3ace 100644 --- a/kivycharts/__init__.py +++ b/kivycharts/__init__.py @@ -0,0 +1 @@ +from .version import __version__ diff --git a/kivycharts/version.py b/kivycharts/version.py new file mode 100644 index 0000000..9d1ffab --- /dev/null +++ b/kivycharts/version.py @@ -0,0 +1 @@ +__version__ = '0.0.9' diff --git a/setup.py b/setup.py index 8eff301..08c0495 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from kivycharts.version import __version__ import codecs try: from setuptools import setup @@ -14,7 +14,7 @@ except ImportError: description = "kivy charts is a tool to build kivy data plot" author = "yumoqing" email = "yumoqing@icloud.com" -version = '0.0.8' +version = __version__ depandent_packages = [] with codecs.open('./requirements.txt', 'r', 'utf-8') as f: b = f.read()