Skip to content

Commit a326eeb

Browse files
committed
Put tools/ into PYTHON_PATH
1 parent 645c3b3 commit a326eeb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

wscript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ from logging import fatal
99
cwd = os.getcwd()
1010
APPNAME="node.js"
1111

12+
# Use the directory that this file is found in to find the tools
13+
# directory where the js2c.py file can be found.
14+
sys.path.append(sys.argv[0] + '/tools');
1215
import js2c
1316

1417
srcdir = '.'

0 commit comments

Comments
 (0)