diff --git a/python/README.md b/python/README.md index 887e9daf..ac9b2afa 100644 --- a/python/README.md +++ b/python/README.md @@ -1,14 +1,11 @@ # openEMS python interface ## Install -* Simple version: -```python -python setup.py install -``` +If openEMS was installed into `~/opt/openEMS`, then install this package with: -* Extended options, e.g. for custom install path at */opt/openEMS*: -```python -python setup.py build_ext -I/opt/openEMS/include -L/opt/openEMS/lib -R/opt/openEMS/lib" +```bash +python setup.py build_ext -I ~/opt/openEMS/include -L ~/opt/openEMS/lib -R ~/opt/openEMS/lib python setup.py install ``` -**Note:** The install command may require root on Linux, or add --user to install to ~/.local + +Otherwise, replace `~/opt/openEMS` with the path to the place where it was installed.