1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Remove deprecated distutils in setup.py
'distutils' used in setup.py deprecated in Python 3.10,
removed in Python 3.12.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2025-04-05
--- a/setup.py
+++ b/setup.py
@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
"""Setup module."""
from typing import List
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
-
+from setuptools import setup
def get_requires() -> List[str]:
"""Read requirements.txt."""
|