debian/patches/use_setuptools
raw| 1 | From: Michael R. Crusoe <[email protected]> |
| 2 | Subject: Use setuptools instead of distutils |
| 3 | |
| 4 | Distutils was removed from Python 3.12 |
| 5 | |
| 6 | --- metastudent.orig/setup.py |
| 7 | +++ metastudent/setup.py |
| 8 | @@ -1,6 +1,6 @@ |
| 9 | #!/usr/bin/python |
| 10 | |
| 11 | -from distutils.core import setup |
| 12 | +from setuptools import setup |
| 13 | from subprocess import Popen, PIPE |
| 14 | import sys |
| 15 | from metastudentPkg.version import VERSION |