From 8d92e3561725148d0447dff7a9330e239f8d0f98 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 21 Jun 2019 20:25:44 +0200 Subject: setup.py: rework version extraction. --- python/libghdl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/libghdl') diff --git a/python/libghdl/__init__.py b/python/libghdl/__init__.py index 8735bf666..a733cd1a8 100644 --- a/python/libghdl/__init__.py +++ b/python/libghdl/__init__.py @@ -33,7 +33,7 @@ def _check_libghdl_bindir(bindir, basename): def _get_libghdl_path(): """Locate the directory where the shared library is""" - basename = get_libghdl_name() + basename = _get_libghdl_name() # Try VUNIT_GHDL_PATH (path of the ghdl binary when using VUnit). r = _check_libghdl_bindir (os.environ.get('VUNIT_GHDL_PATH'), basename) if r is not None: -- cgit v1.2.3