#include "RConfigure.h"#include "TCollection.h"#include "TList.h"#include "TROOT.h"#include "TSystem.h"#include "TSystemDirectory.h"#include "TSystemFile.h"#include <fstream>#include <string>#include <memory>Macros | |
| #define | COMMIT_FILE ".rootcommit" |
| #define | JUPYTER_CMD "jupyter" |
| #define | JUPYTER_CONF_PATH_V "JUPYTER_CONFIG_PATH" |
| #define | JUPYTER_CONFIG "jupyter_notebook_config.py" |
| #define | JUPYTER_PATH_V "JUPYTER_PATH" |
| #define | NB_CONF_DIR "notebook" |
| #define | NB_OPT "notebook" |
| #define | ROOTNB_DIR ".rootnb" |
Functions | |
| static int | CheckNbInstallation (string dir) |
| Checks whether ROOT notebook files are installed and they are the current version. | |
| static bool | CreateJupyterConfig (string dest, string rootbin, string rootlib, string rootdata) |
| Creates the Jupyter notebook configuration file that sets the necessary environment. | |
| static bool | CreateStamp (string dest) |
| Creates a file that stores the current commit id in it. | |
| static bool | InstallNbFiles (string source, string dest) |
| Installs ROOT notebook files in the user's home directory. | |
| int | main (int argc, char **argv) |
| Spawn a Jupyter notebook customised by ROOT. | |
Variables | |
| constexpr const char * | pathsep = "/" |
| #define COMMIT_FILE ".rootcommit" |
Definition at line 43 of file nbmain.cxx.
| #define JUPYTER_CMD "jupyter" |
Definition at line 37 of file nbmain.cxx.
| #define JUPYTER_CONF_PATH_V "JUPYTER_CONFIG_PATH" |
Definition at line 39 of file nbmain.cxx.
| #define JUPYTER_CONFIG "jupyter_notebook_config.py" |
Definition at line 44 of file nbmain.cxx.
| #define JUPYTER_PATH_V "JUPYTER_PATH" |
Definition at line 40 of file nbmain.cxx.
| #define NB_CONF_DIR "notebook" |
Definition at line 41 of file nbmain.cxx.
| #define NB_OPT "notebook" |
Definition at line 38 of file nbmain.cxx.
| #define ROOTNB_DIR ".rootnb" |
Definition at line 42 of file nbmain.cxx.
Checks whether ROOT notebook files are installed and they are the current version.
Definition at line 60 of file nbmain.cxx.
Creates the Jupyter notebook configuration file that sets the necessary environment.
Definition at line 133 of file nbmain.cxx.
Creates a file that stores the current commit id in it.
Definition at line 169 of file nbmain.cxx.
Installs ROOT notebook files in the user's home directory.
Definition at line 87 of file nbmain.cxx.
Spawn a Jupyter notebook customised by ROOT.
Definition at line 188 of file nbmain.cxx.
|
constexpr |
Definition at line 53 of file nbmain.cxx.