Skip to content

Commit

Permalink
correct import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarter committed Apr 15, 2024
1 parent 5e786c5 commit 46883e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pymap/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from .pymap import pyMAP
from pymap.pymap import pyMAP

4 changes: 2 additions & 2 deletions pymap/pymap.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import os


from distutils.sysconfig import get_config_var
from sysconfig import get_config_var

from sys import platform

Expand Down Expand Up @@ -310,7 +310,7 @@ def initLib(cls, dllFileName=None):
libext = '.dll'

maplib = '_libmap' + libext
dllFileName = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + os.path.sep + maplib
dllFileName = os.path.dirname(os.path.abspath(__file__)) + os.path.sep + maplib

# Load the library and setup C-interfaces
lib = setupLib(dllFileName)
Expand Down

0 comments on commit 46883e1

Please sign in to comment.