From 31f0756b788eebf3d40ea16da1c9fc854c0e98ce Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 27 Oct 2023 09:09:08 -0700 Subject: [PATCH] Build & Clean: In Setuptools --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d6111451..4dfecbf7 100644 --- a/setup.py +++ b/setup.py @@ -5,8 +5,6 @@ # Authors: Axel Huebl # License: BSD-3-Clause-LBNL # -from distutils.command.build import build -from distutils.command.clean import clean import os import platform import re @@ -16,6 +14,8 @@ from setuptools import Extension, setup from setuptools.command.build_ext import build_ext +from setuptools.command.build_py import build_py as build +from setuptools.command.clean import clean class CopyPreBuild(build):