Updated KLayout Python Module Prototype (markdown)

Matthias Köfferlein 2018-06-24 21:06:16 +02:00
parent 94bfb8a4ab
commit 1dc86c93c2
1 changed files with 8 additions and 1 deletions

@ -12,11 +12,18 @@ For building use the build script:
./build.sh -bin <your-installation-path>
```
If you want it fast and don't need to Qt bindings, use:
```
# From the project's root directory
./build.sh -bin <your-installation-path> -without-qtbinding
```
For ```<your-installation-path>``` pick a destination where you want KLayout to be installed. For example you can use ```/usr/local/klayout``` for the destination, but you will need sudo permissions then:
```
# Build and install in /usr/local/klayout
sudo ./build.sh -bin /usr/local/klayout
sudo ./build.sh -bin /usr/local/klayout -without-qtbinding
```
The `klayout` module will be built together with KLayout. After KLayout installation, the `klayout` module resides inside the installation tree in the "pymod" subfolder. To use it, either copy the `klayout` folder to your Python installation or set `PYTHONPATH` to the location of the `klayout` folder: