File: build.py-Use-setuptools-instead-of-distutils.patch

package info (click to toggle)
python-asyncmy 0.2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 676 kB
  • sloc: python: 3,509; makefile: 40
file content (24 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 12 Oct 2024 20:18:40 +0100
Subject: build.py: Use setuptools instead of distutils

The distutils module is deprecated since Python 3.10.

See also
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html

Forwarded: https://github.com/long2ice/asyncmy/pull/106
---
 build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.py b/build.py
index 128df03..20a4b0f 100644
--- a/build.py
+++ b/build.py
@@ -1,4 +1,4 @@
-from distutils.command.build_ext import build_ext
+from setuptools.command.build_ext import build_ext
 
 from Cython.Build import cythonize