File tree Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -147,3 +147,16 @@ Build the Cadabra Jupyter kernel with::
147147The 'new' button in the Jupyterhub file browser should now offer you
148148the option of creating a new Cadabra notebook.
149149
150+
151+ Creating a Conda package of the Cadabra Jupyter kernel
152+ ------------------------------------------------------
153+
154+ To build a Conda package of the Cadabra Jupyter kernel from scratch,
155+ first install miniconda as above, and activate::
156+
157+ source ~/miniconda3/bin/activate
158+
159+ Install the prerequisites for building conda packages::
160+
161+ conda install conda-build
162+
Original file line number Diff line number Diff line change 1+ # Conda build script to build a Cadabra Jupyter kernel.
2+
3+ mkdir build
4+ cd build
5+ cmake -G $CMAKE_GENERATOR \
6+ -DCMAKE_INSTALL_PREFIX=$PREFIX \
7+ -DCMAKE_BUILD_TYPE=Release $SRC_DIR \
8+ -DENABLE_JUPYTER=ON \
9+ -DENABLE_FRONTEND=OFF \
10+ -DCMAKE_INCLUDE_PATH=${HOME} /miniconda3/include \
11+ -DCMAKE_LIBRARY_PATH=${HOME} /miniconda3/lib \
12+ -DCMAKE_INSTALL_PREFIX=${HOME} /miniconda3
13+
14+ cmake --build .
15+ cmake --build . --target install
Original file line number Diff line number Diff line change 1+ package :
2+ name : " cadabra2-jupyter-kernel"
3+ version : " 2.2.7"
4+
5+ source :
6+ path : ../
7+
8+ requirements :
9+ build :
10+ - python
11+ - setuptools
12+ - cmake
13+ - pkg-config
14+ - glibmm
15+ - zeromq
16+ - cppzmq
17+ - xtl
18+ - cryptopp
19+ - sqlite
20+ - util-linux
21+ - xeus
22+ - nlohmann_json
23+ - sympy
24+ - jupyter
25+
26+ run :
27+ - python
28+
29+ about :
30+ home : https://cadabra.science
31+ license : GPL
32+ license_family : GPL
33+ summary : Jupyter kernel for the Cadabra2 computer algebra system.
You can’t perform that action at this time.
0 commit comments