9 lines
243 B
Diff
9 lines
243 B
Diff
|
#!python3.8
|
||
|
import sys, os
|
||
|
import site
|
||
|
|
||
|
scriptdir, script = os.path.split(os.path.abspath(__file__))
|
||
|
pkgdir = os.path.join(scriptdir, 'pkgs')
|
||
|
# Ensure .pth files in pkgdir are handled properly
|
||
|
site.addsitedir(pkgdir)
|
||
|
sys.path.insert(0, pkgdir)
|