mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Merge pull request #1001 from Carreau/npm-progress
Apparently deactivating progress bar on npm make install much faster...
This commit is contained in:
commit
4a7fd59392
@ -22,7 +22,7 @@ from distutils.cmd import Command
|
||||
from fnmatch import fnmatch
|
||||
from glob import glob
|
||||
from multiprocessing.pool import ThreadPool
|
||||
from subprocess import check_call
|
||||
from subprocess import check_call, check_output
|
||||
|
||||
if sys.platform == 'win32':
|
||||
from subprocess import list2cmdline
|
||||
@ -346,7 +346,7 @@ class Bower(Command):
|
||||
|
||||
if self.should_run_npm():
|
||||
print("installing build dependencies with npm")
|
||||
run(['npm', 'install'], cwd=repo_root)
|
||||
run(['npm', 'install','--progress=false'], cwd=repo_root)
|
||||
os.utime(self.node_modules, None)
|
||||
|
||||
env = os.environ.copy()
|
||||
|
Loading…
Reference in New Issue
Block a user