Update patch_specklepy.py
move import inside the function, as "alien" imports are not recognized by pygeoapi
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import sys
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import specklepy
|
||||
import pygeoapi
|
||||
|
||||
|
||||
def get_specklepy_path():
|
||||
import specklepy
|
||||
|
||||
return Path(specklepy.__file__).parent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user