mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-21 21:32:58 +05:30
Fixed issues caused by importing from __init__ statements
This commit is contained in:
parent
911a1ad840
commit
9b9f0bd6ee
@ -1,5 +1,11 @@
|
||||
import ctypes
|
||||
from __init__ import libc
|
||||
import os, sys
|
||||
sys.path.append(
|
||||
os.path.abspath(
|
||||
os.path.join(
|
||||
os.path.dirname(__file__), "../../")))
|
||||
from lib3ddevil1.bindings import libc
|
||||
del os, sys
|
||||
|
||||
#--------------------------------------+
|
||||
# Basic Struct
|
||||
|
@ -1,5 +1,12 @@
|
||||
import ctypes
|
||||
from __init__ import libc
|
||||
import os, sys
|
||||
# This is the folder containing the whole library.
|
||||
sys.path.append(
|
||||
os.path.abspath(
|
||||
os.path.join(
|
||||
os.path.dirname(__file__), "../../")))
|
||||
from lib3ddevil1.bindings import libc
|
||||
del os, sys
|
||||
|
||||
#--------------------------------------+
|
||||
# Basic Struct
|
||||
|
@ -1,5 +1,11 @@
|
||||
import ctypes
|
||||
from __init__ import libc
|
||||
import os, sys
|
||||
sys.path.append(
|
||||
os.path.abspath(
|
||||
os.path.join(
|
||||
os.path.dirname(__file__), "../../")))
|
||||
from lib3ddevil1.bindings import libc
|
||||
del os, sys
|
||||
|
||||
#--------------------------------------+
|
||||
# Basic Struct
|
||||
|
Loading…
Reference in New Issue
Block a user