python: replace distutils with setuptools

Signed-off-by: Thorsten Liebig <liebig@imst.de>
pull/80/head
Thorsten Liebig 2021-07-13 19:17:15 +02:00
parent 0dcbcf7651
commit 4c24b6ec75
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -26,6 +26,8 @@ localConfig.cmake
*.pyc
*.pyo
python/**/*.cpp
python/openEMS.egg-info/*
python/dist
!python/doc
python/doc/_build
python/doc/Tutorials/__*

View File

@ -5,8 +5,8 @@ Created on Sun Dec 13 23:48:22 2015
@author: thorsten
"""
from distutils.core import setup
from distutils.extension import Extension
from setuptools import setup
from setuptools import Extension
from Cython.Build import cythonize
import os, sys