File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,6 @@ Regardless of whether you are building CppInterOP with Cling or Clang-REPL you w
217
217
export CB_PYTHON_DIR="$PWD/cppyy-backend/python"
218
218
export CPPINTEROP_DIR="$CB_PYTHON_DIR/cppyy_backend"
219
219
export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:${LLVM_DIR}/llvm/include:${LLVM_DIR}/clang/include:${LLVM_DIR}/build/include:${LLVM_DIR}/build/tools/clang/include"
220
- export PYTHONPATH=$PYTHONPATH:$CPYCPPYY_DIR:$CB_PYTHON_DIR
221
220
```
222
221
If on MacOS you will also need the following environment variable defined
223
222
```
@@ -228,7 +227,6 @@ On Windows you define as follows (assumes you have defined $env:PWD_DIR= $PWD.Pa
228
227
$env:CB_PYTHON_DIR="$env:PWD_DIR\cppyy-backend\python"
229
228
$env:CPPINTEROP_DIR="$env:CB_PYTHON_DIR\cppyy_backend"
230
229
$env:CPLUS_INCLUDE_PATH="$env:CPLUS_INCLUDE_PATH;$env:LLVM_DIR\llvm\include;$env:LLVM_DIR\clang\include;$env:LLVM_DIR\build\include;$env:LLVM_DIR\build\tools\clang\include"
231
- $env:PYTHONPATH="$env:PYTHONPATH;$env:CPYCPPYY_DIR;$env:CB_PYTHON_DIR"
232
230
```
233
231
234
232
#### Build CppInterOp
@@ -329,13 +327,22 @@ Note down the path to the `build` directory as `CPYCPPYY_DIR`:
329
327
export CPYCPPYY_DIR=$PWD
330
328
cd ../..
331
329
```
330
+ Export the ` libcppyy ` path to python:
331
+
332
+ ```
333
+ export PYTHONPATH=$PYTHONPATH:$CPYCPPYY_DIR:$CB_PYTHON_DIR
334
+ ```
335
+ and on Windows:
336
+ ```
337
+ $env:PYTHONPATH="$env:PYTHONPATH;$env:CPYCPPYY_DIR;$env:CB_PYTHON_DIR"
338
+ ```
332
339
333
340
#### Install cppyy
334
341
335
342
```
336
343
git clone --depth=1 https://github.com/compiler-research/cppyy.git
337
344
cd cppyy
338
- python -m pip install --upgrade . --no-deps
345
+ python -m pip install --upgrade . --no-deps --no-build-isolation
339
346
cd ..
340
347
```
341
348
You can’t perform that action at this time.
0 commit comments