Skip to content

Commit 53db92d

Browse files
committed
Rename nbrsessionproxy to jupyter-rsession-proxy
1 parent a40b0e5 commit 53db92d

File tree

7 files changed

+15
-42
lines changed

7 files changed

+15
-42
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nbrsessionproxy/__pycache__
1+
__pycache__

Dockerfile

+1-7
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,7 @@ RUN apt-get clean && \
2323

2424
USER $NB_USER
2525

26-
RUN pip install git+https://github.com/jupyterhub/nbserverproxy.git
27-
RUN jupyter serverextension enable --sys-prefix --py nbserverproxy
28-
29-
RUN pip install git+https://github.com/jupyterhub/nbrsessionproxy.git
30-
RUN jupyter serverextension enable --sys-prefix --py nbrsessionproxy
31-
RUN jupyter nbextension install --sys-prefix --py nbrsessionproxy
32-
RUN jupyter nbextension enable --sys-prefix --py nbrsessionproxy
26+
RUN pip install git+https://github.com/jupyterhub/jupyter-rsession-proxy
3327

3428
# The desktop package uses /usr/lib/rstudio/bin
3529
ENV PATH="${PATH}:/usr/lib/rstudio-server/bin"

README.md

+6-26
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# nbrsessionproxy
1+
# jupyter-rsession-proxy
22

3-
**nbrsessionproxy** provides Jupyter server and notebook extensions to proxy RStudio.
3+
**jupyter-rsession-proxy** provides Jupyter server and notebook extensions to proxy RStudio.
44

55
![Screenshot](screenshot.png)
66

7-
If you have a JupyterHub deployment, nbrsessionproxy can take advantage of JupyterHub's existing authenticator and spawner to launch RStudio in users' Jupyter environments. You can also run this from within Jupyter.
7+
If you have a JupyterHub deployment, jupyter-rsession-proxy can take advantage of JupyterHub's existing authenticator and spawner to launch RStudio in users' Jupyter environments. You can also run this from within Jupyter.
88
Note that [RStudio Server Pro](https://www.rstudio.com/products/rstudio-server-pro/architecture) has more featureful authentication and spawning than the standard version, in the event that you do not want to use Jupyter's.
99

1010
## Installation
@@ -16,31 +16,11 @@ Use conda `conda install rstudio` or [download](https://www.rstudio.com/products
1616

1717
Note that rstudio server is needed to work with this extension.
1818

19-
### Install nbrsessionproxy
20-
Install the library:
21-
```
22-
pip install nbrsessionproxy
23-
```
24-
or
25-
```
26-
conda install -c conda-forge nbrsessionproxy
27-
```
19+
### Install jupyter-rsession-proxy
2820

29-
If installing via pip, you need to enable the extension.
30-
31-
```
32-
jupyter serverextension enable --py --sys-prefix nbrsessionproxy
33-
jupyter nbextension install --py --sys-prefix nbrsessionproxy
34-
jupyter nbextension enable --py --sys-prefix nbrsessionproxy
35-
```
36-
37-
For JupyterLab first clone this repository to a known location and
38-
install from the directory.
21+
Install the library:
3922
```
40-
git clone https://github.com/jupyterhub/nbrsessionproxy /opt/nbrsessionproxy
41-
pip install -e /opt/nbrsessionproxy
42-
jupyter serverextension enable --py nbrsessionproxy
43-
jupyter labextension link /opt/nbrsessionproxy/jupyterlab-rsessionproxy
23+
pip install jupyter-rsession-proxy
4424
```
4525

4626
The Dockerfile contains an example installation on top of [jupyter/r-notebook](https://github.com/jupyter/docker-stacks/tree/master/r-notebook).
File renamed without changes.

setup.py

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
import setuptools
22

33
setuptools.setup(
4-
name="nbrsessionproxy",
5-
version='0.8.0',
6-
url="https://github.com/jupyterhub/nbrsessionproxy",
7-
author="Ryan Lovett",
4+
name="jupyter-rsession-proxy",
5+
version='1.0dev',
6+
url="https://github.com/jupyterhub/jupyter-rsession-proxy",
7+
author="Ryan Lovett & Yuvi Panda",
88
description="Jupyter extension to proxy RStudio's rsession",
99
packages=setuptools.find_packages(),
1010
keywords=['Jupyter'],
1111
classifiers=['Framework :: Jupyter'],
1212
install_requires=[
13-
'notebook',
14-
'nbserverproxy >= 0.8.8'
13+
'jupyter-server-proxy'
1514
],
1615
entry_points={
1716
'jupyter_serverproxy_servers': [
18-
'rstudio = nbrsessionproxy:setup_rstudio',
19-
'shiny = nbrsessionproxy:setup_shiny'
17+
'rstudio = jupyter_rsession_proxy:setup_rstudio',
18+
'shiny = jupyter_rsession_proxy:setup_shiny'
2019
]
2120
},
2221
include_package_data=True

0 commit comments

Comments
 (0)