File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -220,8 +220,7 @@ specified package list.
220220
221221If there is no ` requirements.txt ` file or the ` --force-generate ` option is specified,
222222the package dependencies will be determined from the current Python environment, or
223- from an alternative Python executable specified via the ` --python ` option or via the
224- ` RETICULATE_PYTHON ` environment variable:
223+ from an alternative Python executable specified via the ` --python ` option:
225224
226225``` bash
227226rsconnect deploy notebook --python /path/to/python my-notebook.ipynb
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ def which_python(python, env=os.environ):
113113
114114 In priority order:
115115 * --python specified on the command line
116- * RETICULATE_PYTHON defined in the environment
117116 * the python binary running this script
118117 """
119118 warn ("This method has been moved and will be deprecated." , DeprecationWarning , stacklevel = 2 )
@@ -122,9 +121,6 @@ def which_python(python, env=os.environ):
122121 raise RSConnectException ('The file, "%s", does not exist or is not executable.' % python )
123122 return python
124123
125- if "RETICULATE_PYTHON" in env :
126- return os .path .expanduser (env ["RETICULATE_PYTHON" ])
127-
128124 return sys .executable
129125
130126
You can’t perform that action at this time.
0 commit comments