1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: fix deprecated Python stdlib
distutils was removed in Python 3.12,
Instead of this, use setuptools.
Author: Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me>
Forwarded: yes
diff --git a/setup.py b/setup.py
index aae2a11..a9e4096 100644
--- a/setup.py
+++ b/setup.py
@@ -4,8 +4,8 @@ from os.path import basename
from os.path import dirname
from os.path import join
from os.path import splitext
-from distutils.core import setup
-from distutils.command.build import build
+from setuptools import setup
+from setuptools.command.build import build
from setuptools.command.develop import develop
from setuptools.command.easy_install import easy_install
from setuptools.command.install_lib import install_lib
|