diff --git a/ElectromagneticScattering/README.md b/ElectromagneticScattering/README.md index ac115e9dabf7d848eb6d64f34277154e85121345..bd92b1709d8ae3795ba8566b729c0187006728f2 100644 --- a/ElectromagneticScattering/README.md +++ b/ElectromagneticScattering/README.md @@ -24,21 +24,12 @@ Open `scattering.pro` with Gmsh. Guillaume Demésy and Brian Stout ## Installation Note -To enable Python[] function in GetDP, follow [these instructions](https://gitlab.onelab.info/getdp/getdp/wikis/GetDP-compilation) (complex arithmetic) and add to the final cmake line: -`-DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/path/to/pythonlib -DPYTHON_INCLUDE_DIR=/path/to/python/include` - - - -* On Debian for python3.6 installed with apt-get, - -* * `/path/to/pythonlib` is `/usr/lib/x86_64-linux-gnu/libpython3.6m.so` - -* * `/path/to/python/include` is `/usr/include/python3.6m` - - - -* For python versions installed through anaconda, common locations are: - -* * /somepath/anaconda3/envs/py36/lib/libpython3.6m.so - -* * /somepath/anaconda3/envs/py36/include/python3.6m +To enable python support (Python[] function) in GetDP, follow [these instructions](https://gitlab.onelab.info/getdp/getdp/wikis/GetDP-compilation) (complex arithmetic) and add to the final cmake line: + +`-DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/path/to/pythonlib -DPYTHON_INCLUDE_DIR=/path/to/pythoninclude` +* On Debian/Ubuntu systems, for python3.6 installed with apt-get, + * `/path/to/pythonlib` is `/usr/lib/x86_64-linux-gnu/libpython3.6m.so` + * `/path/to/python/include` is `/usr/include/python3.6m` +* For python versions installed through anaconda in some an environement (e.g. py36 below), a common location is: + * `/somepath/anaconda3/envs/py36/lib/libpython3.6m.so` + * `/somepath/anaconda3/envs/py36/include/python3.6m`