File: use_setuptools

package info (click to toggle)
metastudent 2.0.1-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 95,644 kB
  • sloc: java: 3,287; perl: 2,089; python: 1,421; ruby: 242; sh: 39; makefile: 19
file content (15 lines) | stat: -rw-r--r-- 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Michael R. Crusoe <crusoe@debian.org>
Subject: Use setuptools instead of distutils

Distutils was removed from Python 3.12

--- metastudent.orig/setup.py
+++ metastudent/setup.py
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 
-from distutils.core import setup
+from setuptools import setup
 from subprocess import Popen, PIPE
 import sys
 from metastudentPkg.version import VERSION