File: 0003-No-distutils.patch

package info (click to toggle)
pyzoltan 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,160 kB
  • sloc: python: 704; ansic: 172; sh: 36; makefile: 20
file content (21 lines) | stat: -rw-r--r-- 621 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Tue, 19 Aug 2025 10:38:55 +0000
Subject: No distutils

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 751b89b..1781838 100644
--- a/setup.py
+++ b/setup.py
@@ -242,7 +242,7 @@ def get_parallel_extensions():
         return []
 
     if MODE == 'info':
-        from distutils.core import Extension
+        from setuptools.core import Extension
         include_dirs = []
         mpi_inc_dirs, mpi_compile_args, mpi_link_args = [], [], []
         zoltan_include_dirs, zoltan_library_dirs = [], []