openEMS/python
Ruben Undheim 8908489c1f Explicitly extend from 'object' to prevent issue in Python 2
Otherwise, it fails with:

  File "/usr/local/lib/python2.7/dist-packages/openEMS/ports.py", line 205, in __init__
    super(MSLPort, self).__init__(CSX, port_nr=port_nr, start=start, stop=stop, excite=excite, **kw)
TypeError: super() argument 1 must be type, not classobj
2019-02-13 22:29:00 +01:00
..
Tutorials python: add some initial automesh features 2017-03-01 22:08:53 +01:00
doc python: doc updates 2016-11-15 20:09:27 +01:00
openEMS Explicitly extend from 'object' to prevent issue in Python 2 2019-02-13 22:29:00 +01:00
README.md fix typo, #35 2018-11-17 18:36:30 +01:00
setup.py python: initial code for python interface using cython 2016-08-28 21:34:28 +02:00

README.md

openEMS python interface

Install

  • Simple version:
python setup.py install
  • Extended options, e.g. for custom install path at /opt/openEMS:
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