openEMS/python
Yifeng Li 8e408307b8 python/ports.py: replace deprecated "np.int" with "int".
Accroding to NumPy's development team, "for a long time, np.int has
been an alias of the builtin int. This is repeatedly a cause of
confusion for newcomers, and existed mainly for historic reasons."

This and many other aliases have been deprecated since NumPy v1.20.0,
and at this point they've been completely removed. Replace "np.int"
with "int" allows ports.py to run again.

Signed-off-by: Yifeng Li <tomli@tomli.me>
2023-02-22 18:41:43 +01:00
..
doc python: doc updates 2016-11-15 20:09:27 +01:00
openEMS python/ports.py: replace deprecated "np.int" with "int". 2023-02-22 18:41:43 +01:00
Tutorials python tutorials: use new/better automesh options for CRLH examples 2023-01-07 20:52:36 +01:00
README.md fix typo, #35 2018-11-17 18:36:30 +01:00
setup.py python: language level 3 2022-12-29 10:06:11 +01:00

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