Skip to content

Commit 3a69eea

Browse files
committed
#636 not installing netpyne from sources if a production build
1 parent c11e13e commit 3a69eea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utilities/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ def main(netpyne_branch, workspace_branch, geppetto_branch=None, skipNpm=False,
116116
execute(cmd=['pip', 'install', '-e', '.'], cwd=os.path.join(DEPS_DIR, META_DIR, JUPYTER_DIR))
117117
# installing core dependencies
118118
execute(cmd=['pip', 'install', '-e', '.'], cwd=ROOT_DIR)
119-
else:
120-
# install requirements
121119
if netpyne_branch and netpyne_branch != 'master':
122120
cprint("Installing netpyne")
123121
clone(repository=NETPYNE, branch_or_tag=netpyne_branch)
124122
execute(cmd=['pip', 'install', '-e', '.'], cwd=os.path.join(DEPS_DIR, NETPYNE_DIR))
123+
else:
124+
# install requirements
125125
cprint("Installing UI python package...")
126126
execute(cmd=['pip', 'install', '-e', '.', '--no-deps'], cwd=ROOT_DIR)
127127

0 commit comments

Comments
 (0)