From 7166166d2ec5dfddca08e8fffe8e7eaa0036afdc Mon Sep 17 00:00:00 2001 From: Marc Lasch Date: Wed, 10 Apr 2024 13:20:53 +0200 Subject: [PATCH] setup.py: Remove superfluous distutils import distutils is deprecated with removal planned for Python 3.12. --- setup.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/setup.py b/setup.py index 952ef8f..0a2bf9e 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ os.environ["CFLAGS"] = "-mpclmul -msse2 -maes" from setuptools import Command, setup, find_packages from setuptools.command.build_ext import build_ext -from distutils.command.build import build as dbuild WINDOWS = sys.platform == "win32" @@ -146,16 +145,11 @@ class BuildBuild(build_ext): Custom build command """ - # dbuild.user_options += [ - # ('build-deps', None, 'build nng and mbedtls before building the module') - # ] - def initialize_options(self): """ Set default values for options Each user option must be listed here with their default value. """ - # dbuild.initialize_options(self) build_ext.initialize_options(self) def run(self): @@ -165,7 +159,6 @@ def run(self): self.run_command("build_mbedtls") self.run_command("build_nng") - # dbuild.run(self) # proceed with "normal" build steps build_ext.run(self) # proceed with "normal" build steps