Skip to content

Commit d1a05dd

Browse files
committed
Workaround ModuleNotFound.
1 parent 5659b91 commit d1a05dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
from urllib.error import HTTPError
4444
from urllib.request import urlretrieve
4545

46+
# workaround for ModuleNotFound.
47+
sys.path.insert(0, str(Path(__file__).parent.resolve()))
48+
4649
from build_libnative import build_crate, clean_crate
4750

4851

0 commit comments

Comments
 (0)