From 4c24b6ec75c0416f9f1084bb56f393b054d0b508 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Tue, 13 Jul 2021 19:17:15 +0200 Subject: [PATCH] python: replace distutils with setuptools Signed-off-by: Thorsten Liebig --- .gitignore | 2 ++ python/setup.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 151f2da..a5682ef 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,8 @@ localConfig.cmake *.pyc *.pyo python/**/*.cpp +python/openEMS.egg-info/* +python/dist !python/doc python/doc/_build python/doc/Tutorials/__* diff --git a/python/setup.py b/python/setup.py index ef06160..3a2221b 100644 --- a/python/setup.py +++ b/python/setup.py @@ -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