aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-03-06 18:25:04 +0100
committerTristan Gingold <tgingold@free.fr>2018-03-06 18:25:04 +0100
commit0e9e1f63cdf19dc45804d7b8728698f879489ee9 (patch)
tree5329979b3ab5d5945f02c964baa499ca70620b00 /src
parent8a3986828fbb93f82d12535eb970101199ae71df (diff)
downloadghdl-0e9e1f63cdf19dc45804d7b8728698f879489ee9.tar.gz
ghdl-0e9e1f63cdf19dc45804d7b8728698f879489ee9.tar.bz2
ghdl-0e9e1f63cdf19dc45804d7b8728698f879489ee9.zip
Add (missing) setup.py
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/python/libghdl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/python/libghdl/__init__.py b/src/vhdl/python/libghdl/__init__.py
index 63a34b23c..457d6f2bd 100644
--- a/src/vhdl/python/libghdl/__init__.py
+++ b/src/vhdl/python/libghdl/__init__.py
@@ -9,7 +9,7 @@ _ext = {'linux': '.so',
'cygwin': '.dll'}
# Load the DLL.
-_basedir = os.path.join(os.path.dirname(__file__), '..')
+_basedir = os.path.dirname(__file__)
libghdl = ctypes.CDLL(os.path.join(
_basedir, 'libghdl' + _ext.get(sys.platform, '.so')))