aboutsummaryrefslogtreecommitdiff
path: root/gensvm
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-03-06 18:06:24 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-03-06 18:06:24 +0000
commit77f4e1f1698b201ce10a8af650ef059f2d0bb944 (patch)
treef6e2fc1f2bfba64f5ab675fe68b7f19e10543848 /gensvm
parentUpdate release script to not run tests automatically (diff)
downloadpygensvm-77f4e1f1698b201ce10a8af650ef059f2d0bb944.tar.gz
pygensvm-77f4e1f1698b201ce10a8af650ef059f2d0bb944.zip
Put version info in a separate file
Diffstat (limited to 'gensvm')
-rw-r--r--gensvm/__init__.py2
-rw-r--r--gensvm/__version__.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/gensvm/__init__.py b/gensvm/__init__.py
index 5c6b940..52275d3 100644
--- a/gensvm/__init__.py
+++ b/gensvm/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-__version__ = "0.2.4"
+from .__version__ import __version__
from .core import GenSVM
from .gridsearch import GenSVMGridSearchCV
diff --git a/gensvm/__version__.py b/gensvm/__version__.py
new file mode 100644
index 0000000..562507b
--- /dev/null
+++ b/gensvm/__version__.py
@@ -0,0 +1,5 @@
+# -*- coding: utf-8 -*-
+
+VERSION = (0, 2, 4)
+
+__version__ = ".".join(map(str, VERSION))