File: 001-remove-deprecated-distutils.patch

package info (click to toggle)
python-pyrgg 1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,212 kB
  • sloc: python: 1,592; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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-10-13

--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,6 @@
 # -*- coding: utf-8 -*-
 """Setup module."""
-try:
-    from setuptools import setup
-except ImportError:
-    from distutils.core import setup
+from setuptools import setup
 from textwrap import fill
 
 _description = """\