mirror of https://gitee.com/bigwinds/arangodb
swap sequence, so the exception gets thrown later.
This commit is contained in:
parent
0a0aa11b42
commit
137b82409c
|
@ -9,9 +9,9 @@ import os.path
|
|||
|
||||
# TODO(mark): sys.path manipulation is some temporary testing stuff.
|
||||
try:
|
||||
import gyp
|
||||
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '..'))
|
||||
os.environ['PYTHON_EXECUTABLE'] = sys.executable
|
||||
import gyp
|
||||
except ImportError, e:
|
||||
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), 'pylib'))
|
||||
import gyp
|
||||
|
|
Loading…
Reference in New Issue