yuidoc

Run npm commands using Python subprocess

被刻印的时光 ゝ 提交于 2020-01-03 07:18:11
问题 I'm trying to automate the generation of documentation using YUIDOC, but I have a server side framework that heavily uses python, so I'm trying to automate everything from within a python script. I'm able to get the node command to run fine, but whenever I try something I installed using npm, python isn't happy. My project uses Buildout instead of virtualenv, but ideally I'd like to be able to just run these commands from a standalone python file. Perhaps some code would help explain my