X Tutup
Skip to content

Commit 5dd3f34

Browse files
committed
move nodejs from /.t/n to ./n
1 parent 1b2ff2b commit 5dd3f34

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

make.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class WinPythonDistribution(object):
148148
MINGW32_PATH = r'\t\mingw32\bin'
149149
R_PATH = r'\t\R\bin'
150150
JULIA_PATH = r'\t\Julia\bin'
151-
NODEJS_PATH = r'\t\n'
151+
NODEJS_PATH = r'\n' # r'\t\n'
152152

153153
def __init__(self, build_number, release_level, target, wheeldir,
154154
toolsdirs=None, verbose=False, simulation=False,
@@ -550,6 +550,11 @@ def _copy_dev_tools(self):
550550
print(path + ' --> ' + osp.join(toolsdir, name))
551551
copy(path, osp.join(toolsdir, name))
552552
self._print_done()
553+
# move node higher
554+
nodejs_current = osp.join(toolsdir, 'n')
555+
nodejs_target = self.winpydir + self.NODEJS_PATH
556+
if nodejs_current != nodejs_target and osp.isdir(nodejs_current):
557+
shutil.move(nodejs_current, nodejs_target)
553558

554559
def _copy_dev_docs(self):
555560
"""Copy dev docs"""

0 commit comments

Comments
 (0)
X Tutup