python: improve init on windows

CSXCAD adds the dll path as needed on windows install version

Signed-off-by: Thorsten Liebig <liebig@imst.de>
pull/80/head
Thorsten Liebig 2021-07-08 15:14:30 +02:00
parent a013077854
commit f9c8954ed3
1 changed files with 3 additions and 0 deletions

View File

@ -3,4 +3,7 @@
# Shortcut openEMS import
from __future__ import absolute_import
# try to import CSXCAD, e.g. make sure the (windows) dll path are set
import CSXCAD
from openEMS.openEMS import openEMS