Commit 588e49fd authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[README] add notes on installing the python bindings

parent 1c4fea4b
......@@ -105,6 +105,8 @@ Please note that the following requirements need to be installed:
* CMake (>3.0)
* C, C++ compiler (C++17 required)
* Optional: Doxygen (>= 1.8)
* Optional: python3 (for python bindings)
* Optional: pybind11 (for python bindings)
### Installation of OpenCASCADE
Frackit requires parts of the [OpenCASCADE][2] library to be installed on your system.
......@@ -142,6 +144,15 @@ from the command line via:
sudo apt-get install tcllib tklib tcl-dev tk-dev libfreetype-dev libxt-dev libxmu-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libfreeimage-dev libtbb-dev libgl2ps-dev
``` -->
If you want to use the python bindings you need to install pybind11. You can get it from
the GitHub repository at [][]
and manually install it. Alternatively, you can install it via the command line (here shown for Ubuntu users)
sudo apt install pybind11-dev
### Building Frackit under Linux
After [OpenCASCADE][2] and the other requirements listed above have been installed,
clone this repository within your folder of choice by typing:
......@@ -217,6 +228,21 @@ cd appl/example1
To install the Frackit python package on your system, go back to the `build` folder and type
make install_python
If this finished successfully, you can, for instance, run the python implementation of
example1 by heading to the examples folder (in the source tree):
cd ../appl/example1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment