python: language level 3

Signed-off-by: Thorsten Liebig <thorsten.liebig@gmx.de>
py_gui
Thorsten Liebig 2022-12-29 10:06:11 +01:00
parent 8c08cf5312
commit 9737661b94
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
cimport _nf2ff cimport openEMS._nf2ff
import numpy as np import numpy as np
import os import os
from CSXCAD.Utilities import CheckNyDir from CSXCAD.Utilities import CheckNyDir

View File

@ -19,7 +19,7 @@
import os, sys, shutil import os, sys, shutil
import numpy as np import numpy as np
cimport openEMS cimport openEMS
from . import ports, nf2ff, automesh from openEMS import ports, nf2ff, automesh
from CSXCAD.Utilities import GetMultiDirs from CSXCAD.Utilities import GetMultiDirs

View File

@ -40,8 +40,8 @@ setup(
author_email = 'Thorsten.Liebig@gmx.de', author_email = 'Thorsten.Liebig@gmx.de',
maintainer = 'Thorsten Liebig', maintainer = 'Thorsten Liebig',
maintainer_email = 'Thorsten.Liebig@gmx.de', maintainer_email = 'Thorsten.Liebig@gmx.de',
url = 'http://openEMS.de', url = 'https://openEMS.de',
packages=["openEMS", ], packages=["openEMS", ],
package_data={'openEMS': ['*.pxd']}, package_data={'openEMS': ['*.pxd']},
ext_modules = cythonize(extensions) ext_modules = cythonize(extensions, language_level = "3")
) )