1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Move from deprecated distutils to setuptools
Author: Jochem Kossen <jochem@jkossen.nl>
Forwarded: https://github.com/USNavalResearchLaboratory/mgen/issues/65
Last-Update: 2025-10-01
--- a/protolib/setup.py
+++ b/protolib/setup.py
@@ -4,7 +4,7 @@
# Example scripts are provided in the "examples" subdirectory.
import platform
-from distutils.core import setup, Extension
+from setuptools import setup, Extension
# This setup.py script assumes that Protolib (libprotokit.a) has already
# been built and located in "protolib/lib with respect to this script
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,5 @@
import platform
-from distutils.core import setup, Extension
+from setuptools import setup, Extension
# Note that the 'mgen' package has a dependency
# on the Protolib Python 'protokit' package and
|