installs pip, kindof

master
Marcus 2018-10-30 17:59:40 -04:00
parent 52e0052436
commit 0fa93378ae
4 changed files with 20902 additions and 1 deletions

0
index.js 100644
View File

View File

@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "node postinstall.js"
},
"repository": {
"type": "git",

20890
pip.py 100644

File diff suppressed because it is too large Load Diff

10
postinstall.js 100644
View File

@ -0,0 +1,10 @@
// pip install --target=lib numpy six pypng pyplatec
let {execSync} = require('child_process');
execSync('"Python/Scripts/pip.exe" install --target=worldengine/lib numpy six pypng pyplatec', {
stdio: 'inherit'
});
// execSync('"Python/Scripts/pip.exe" install --target=worldengine/lib numpy six pypng pyplatec', {
// stdio: 'inherit'
// });