From 20d867fef338b0d8f0604e99db5383ab69ad63ae Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 30 Dec 2020 16:20:54 +0100 Subject: scripts/pnodespy.py: adjust generated import statements --- scripts/pnodespy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/pnodespy.py') diff --git a/scripts/pnodespy.py b/scripts/pnodespy.py index 69086aecf..a769a73ef 100755 --- a/scripts/pnodespy.py +++ b/scripts/pnodespy.py @@ -57,7 +57,7 @@ def do_iirs_subprg(): def do_libghdl_elocations(): classname = "vhdl__elocations" - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print() for k in pnodes.funcs: print() @@ -143,7 +143,7 @@ def read_spec_enum(type_name, prefix, class_name): def do_libghdl_nodes(): - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print( """ Null_Iir = 0 @@ -167,7 +167,7 @@ Iir_Flist_All = 2 def do_libghdl_meta(): - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print( """ @@ -239,7 +239,7 @@ def do_libghdl_tokens(): def do_libghdl_errorout(): - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print("\n" "Enable_Warning = libghdl.errorout__enable_warning") read_enum( "../errorout.ads", -- cgit v1.2.3