aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-24 18:58:30 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-24 21:14:11 +0200
commit7844307638c4666c0fc4a330b7d536722fc13460 (patch)
treec0e231cb82f89867e7e34db749a7e4c57f05f2e5 /python/libghdl
parentd9be7da0cf3d38e2476862fc6bb75a8d27de3276 (diff)
downloadghdl-7844307638c4666c0fc4a330b7d536722fc13460.tar.gz
ghdl-7844307638c4666c0fc4a330b7d536722fc13460.tar.bz2
ghdl-7844307638c4666c0fc4a330b7d536722fc13460.zip
python: add version.py, check it in configure.
Diffstat (limited to 'python/libghdl')
-rw-r--r--python/libghdl/__init__.py2
-rw-r--r--python/libghdl/version.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/python/libghdl/__init__.py b/python/libghdl/__init__.py
index a733cd1a8..3050a82da 100644
--- a/python/libghdl/__init__.py
+++ b/python/libghdl/__init__.py
@@ -2,7 +2,7 @@ import ctypes
import os
from os.path import dirname, join, exists
from shutil import which
-from libghdl.config import __version__
+from libghdl.version import __version__
def _get_libghdl_name():
diff --git a/python/libghdl/version.py b/python/libghdl/version.py
new file mode 100644
index 000000000..0a51c80f3
--- /dev/null
+++ b/python/libghdl/version.py
@@ -0,0 +1 @@
+__version__ = '0.37-dev'