Skip to content

Commit

Permalink
Add system call to install
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Nov 1, 2023
1 parent d0d32ac commit ab5d3c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
reticulate::use_virtualenv('r-reticulate')
reticulate::py_install(c("requests<3", "pandas~=2.0.0", "pysftp", "jinja2", "markupsafe"))
# reticulate::py_install(c(paste("synapseclient==", PYTHON_CLIENT_VERSION, sep="")), pip=T)
system('virtualenv r-reticulate')
system('pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "synapseclient[pandas]"')
}
)
Expand Down
1 change: 1 addition & 0 deletions tools/installPythonClient.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ reticulate::use_virtualenv('r-reticulate')
# reticulate::py_run_string(sprintf("sys.path.append(\"%s\")", file.path(baseDir, "inst", "python")))
reticulate::py_install(c("requests<3", "pandas~=2.0.0", "pysftp", "jinja2", "markupsafe"))
#reticulate::py_install(c(paste("synapseclient==", PYTHON_CLIENT_VERSION, sep="")), pip=T)
system('virtualenv r-reticulate')
system('pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "synapseclient[pandas]"')

0 comments on commit ab5d3c8

Please sign in to comment.