summaryrefslogtreecommitdiff
path: root/python/setup.py.in
diff options
context:
space:
mode:
authorMiro Hrončok <miro@hroncok.cz>2023-03-31 14:52:19 +0200
committerTomáš Mráz <tm@t8m.info>2023-03-31 15:13:23 +0200
commit7b5e0f0097faebdcc6a8b783237bbba7a983147a (patch)
treef419df8ea762805c8cf11f5725607355e5361940 /python/setup.py.in
parentad5238f5a64cd0a16a1ead23bc0cbe60df09fd8b (diff)
downloadlibpwquality-git-7b5e0f0097faebdcc6a8b783237bbba7a983147a.tar.gz
Use setuptools instead of distutilsHEADmaster
distutils is removed from Python 3.12+: https://peps.python.org/pep-0632/
Diffstat (limited to 'python/setup.py.in')
-rwxr-xr-xpython/setup.py.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/setup.py.in b/python/setup.py.in
index a741b91..f934c50 100755
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -6,9 +6,9 @@
import os
-from distutils.core import setup, Extension
-from distutils.command.build_ext import build_ext as _build_ext
-from distutils.command.sdist import sdist as _sdist
+from setuptools import setup, Extension
+from setuptools.command.build_ext import build_ext as _build_ext
+from setuptools.command.sdist import sdist as _sdist
def genconstants(headerfile, outputfile):
hf = open(headerfile, 'r')