Skip to content

Commit 722c1d3

Browse files
committed
remove unneeded lines from setup.py
1 parent 2844510 commit 722c1d3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

setup.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ def run(self):
120120
if npm is None:
121121
raise RuntimeError("NPM is not installed.")
122122

123-
# Required when using NPM >3
124-
log.info(f"> Installing rollup, react, and react-dom")
125-
subprocess.run(f"{npm} install rollup".split(), cwd=js_dir, check=True)
126-
subprocess.run(f"{npm} install react".split(), cwd=js_dir, check=True)
127-
subprocess.run(
128-
f"{npm} install react-dom".split(), cwd=js_dir, check=True
129-
)
130-
131123
for args in (f"{npm} install", f"{npm} run build"):
132124
args_list = args.split()
133125
log.info(f"> {list2cmdline(args_list)}")

0 commit comments

Comments
 (0)