UNPKG
boajs
Version:
latest (1.2.10)
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
Use Python modules seamlessly in Node.js
github.com/alibaba/pipcook
alibaba/pipcook
boajs
/
tools
/
debuginfo.js
10 lines
(7 loc)
•
262 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
const
path =
require
(
'path'
);
const
{ run,
PLATFORM
} =
require
(
'./utils'
);
if
(
PLATFORM
===
'linux'
) {
run
(
'ldd'
, path.
join
(__dirname,
'../build/Release/boa.node'
)); }
run
(
'ls'
, path.
join
(__dirname,
'../miniconda/lib/python3.7/lib-dynload'
));