summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2022-07-10 11:33:11 -0700
committerBrian Dolbec <dolsen@gentoo.org>2022-07-10 11:33:11 -0700
commitbbbde97b5e625a49a1a66e307931548cb33f260b (patch)
tree05e97c65f61e1ed2cdfedfb1c9b8fd3b508d87f4
parent68159035c6479e313c33dd31d19d42d3178f1235 (diff)
downloadgentoolkit-bbbde97b5e625a49a1a66e307931548cb33f260b.tar.gz
setup.py: migrate to setuptools
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rwxr-xr-xsetup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 23e9b36..36995de 100755
--- a/setup.py
+++ b/setup.py
@@ -3,8 +3,8 @@
import re
import sys
import subprocess
-from distutils import core
-from distutils.cmd import Command
+
+from setuptools import setup, Command
from glob import glob
import os
@@ -67,7 +67,7 @@ manpages = [
]
-class set_version(core.Command):
+class set_version(Command):
"""Set python __version__ and bash VERSION to our __version__."""
description = "hardcode scripts' version using VERSION from environment"
@@ -130,7 +130,7 @@ test_data = {
]
}
-core.setup(
+setup(
name="gentoolkit",
version=__version__,
description="Set of tools that work with and enhance portage.",