Description: Replace distutils with setuptools
Author: Pieter Lenaerts <plenae@disroot.org>
Forwarded: https://github.com/gatagat/lap/pull/67
Last-Update: 2025-08-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-import distutils.cmd
+from setuptools import Command
 from setuptools import Extension, setup
 
 LICENSE = "BSD-2-Clause"
@@ -37,7 +37,7 @@
     else:
         return cpp_file
 
-class ExportCythonCommand(distutils.cmd.Command):
+class ExportCythonCommand(Command):
     description = "Export _lapjv binary from source."
     def run(self):
         super().run()
