build: reworked with setuptools
Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
This commit is contained in:
9
vppcfg/__init__.py
Normal file
9
vppcfg/__init__.py
Normal file
@ -0,0 +1,9 @@
|
||||
import os, sys
|
||||
|
||||
ROOT_DIR = os.path.dirname(__file__)
|
||||
|
||||
# fix the module load path
|
||||
sys.path.insert(0, ROOT_DIR)
|
||||
|
||||
# fix the yaml search path
|
||||
os.chdir(ROOT_DIR)
|
Reference in New Issue
Block a user