File: distutils-to-setuptools.patch

package info (click to toggle)
tlsh 4.12.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,952 kB
  • sloc: cpp: 9,132; python: 1,603; java: 1,214; sh: 703; javascript: 467; ansic: 54; makefile: 27; sed: 9
file content (18 lines) | stat: -rw-r--r-- 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use Python's setuptools instead of distutils
Author: Sven Geuer <sge@debian.org>
Origin: backport, https://github.com/trendmicro/tlsh/pull/128
Forwarded: not-needed
Last-Update: 2025-11-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/py_ext/setup.py
+++ b/py_ext/setup.py
@@ -2,7 +2,7 @@
 import re
 import sys
 from os.path import join, realpath
-from distutils.core import setup, Extension
+from setuptools import setup, Extension