Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos
Commits
824a1ffa
Commit
824a1ffa
authored
Dec 23, 2020
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/jupyter: Add cython+ to the environment
parent
ab8c0ee5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
software/jupyter/buildout.hash.cfg
software/jupyter/buildout.hash.cfg
+2
-2
software/jupyter/instance.cfg.in
software/jupyter/instance.cfg.in
+2
-0
software/jupyter/jupyter_notebook_config.py.jinja
software/jupyter/jupyter_notebook_config.py.jinja
+3
-0
software/jupyter/software.cfg
software/jupyter/software.cfg
+3
-0
No files found.
software/jupyter/buildout.hash.cfg
View file @
824a1ffa
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
[instance-jupyter-notebook]
[instance-jupyter-notebook]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
1d5fe6cc4e48672ae7be1c223794a932
md5sum =
659e0d583acd70ebb8d815c22735d91b
[jupyter-notebook-config]
[jupyter-notebook-config]
filename = jupyter_notebook_config.py.jinja
filename = jupyter_notebook_config.py.jinja
md5sum =
3da50c37760a42e42ae3f9d78d9ca449
md5sum =
4514df152740dbd7990da9705f40e978
[jupyter-set-password]
[jupyter-set-password]
filename = jupyter_set_password.cgi.jinja
filename = jupyter_set_password.cgi.jinja
...
...
software/jupyter/instance.cfg.in
View file @
824a1ffa
...
@@ -82,6 +82,8 @@ rendered = ${directory:jupyter_config_dir}/jupyter_notebook_config.py
...
@@ -82,6 +82,8 @@ rendered = ${directory:jupyter_config_dir}/jupyter_notebook_config.py
mode = 0744
mode = 0744
context =
context =
raw config_cfg ${buildout:directory}/knowledge0.cfg
raw config_cfg ${buildout:directory}/knowledge0.cfg
raw gcc_location {{ gcc_location }}
raw cythonplus_repository {{ cythonplus_repository }}
[directory]
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
...
...
software/jupyter/jupyter_notebook_config.py.jinja
View file @
824a1ffa
...
@@ -36,3 +36,6 @@ c.NotebookApp.password = passwd(parser.get("jupyter_notebook", "password"))
...
@@ -36,3 +36,6 @@ c.NotebookApp.password = passwd(parser.get("jupyter_notebook", "password"))
with open(knowledge_0, 'w') as file:
with open(knowledge_0, 'w') as file:
parser.write(file)
parser.write(file)
os.environ['PATH'] = "{{ gcc_location }}/bin" + os.pathsep + os.environ['PATH']
os.environ['PYTHONPATH'] = "{{ cythonplus_repository }}" + os.pathsep + os.environ['PYTHONPATH']
software/jupyter/software.cfg
View file @
824a1ffa
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
extends =
extends =
buildout.hash.cfg
buildout.hash.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../component/cythonplus/buildout.cfg
../../component/openssl/buildout.cfg
../../component/openssl/buildout.cfg
../../component/jupyter/buildout.cfg
../../component/jupyter/buildout.cfg
../../stack/monitor/buildout.cfg
../../stack/monitor/buildout.cfg
...
@@ -64,6 +65,8 @@ context =
...
@@ -64,6 +65,8 @@ context =
key custom_js_location custom-js:location
key custom_js_location custom-js:location
key custom_js_filename custom-js:filename
key custom_js_filename custom-js:filename
key monitor_template_rendered buildout:directory
key monitor_template_rendered buildout:directory
key cythonplus_repository cythonplus-repository:location
key gcc_location gcc:prefix
[versions]
[versions]
Pygments = 2.7.2
Pygments = 2.7.2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment