Skip to content
Snippets Groups Projects
Commit ad2b014d authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Insert lib paths at path[1], path[0] reserved for script path

parent e214060f
Branches master
No related tags found
No related merge requests found
......@@ -3,16 +3,6 @@
import os
import sys
#print('__file__: ' + __file__)
script_path = os.path.dirname(os.path.realpath(__file__))
#print('script_path: ' + script_path)
lib_path = os.path.abspath('/'.join([script_path, '..']))
#print('lib_path: ' + lib_path)
sys.path.insert(0, lib_path)
#print('sys.path: ')
#for path in sys.path:
# print(' ' * 4 + path)
sys.path.insert(1, lib_path)
......@@ -3,19 +3,12 @@
import os
import sys
#print('__file__: ' + __file__)
lib_path = os.path.dirname(os.path.realpath(__file__))
#print('lib_path: ' + lib_path)
lib_pip = '/'.join([lib_path, 'pip'])
lib_git = '/'.join([lib_path, 'git'])
lib_isg = '/'.join([lib_path, 'isg'])
sys.path.insert(0, lib_pip)
sys.path.insert(0, lib_git)
sys.path.insert(0, lib_isg)
#print('sys.path: ')
#for path in sys.path:
# print(' ' * 4 + path)
sys.path.insert(1, lib_pip)
sys.path.insert(1, lib_git)
sys.path.insert(1, lib_isg)
......@@ -3,16 +3,6 @@
import os
import sys
#print('__file__: ' + __file__)
script_path = os.path.dirname(os.path.realpath(__file__))
#print('script_path: ' + script_path)
lib_path = os.path.abspath('/'.join([script_path, '../..']))
#print('lib_path: ' + lib_path)
sys.path.insert(0, lib_path)
#print('sys.path: ')
#for path in sys.path:
## print(' ' * 4 + path)
sys.path.insert(1, lib_path)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment