From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45AE3158095 for ; Sun, 10 Jul 2022 18:41:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B8F1E0863; Sun, 10 Jul 2022 18:41:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B443E0863 for ; Sun, 10 Jul 2022 18:41:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6B2FD33BF01 for ; Sun, 10 Jul 2022 18:41:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD247500 for ; Sun, 10 Jul 2022 18:41:05 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1657477991.bbbde97b5e625a49a1a66e307931548cb33f260b.dolsen@gentoo> Subject: [gentoo-commits] proj/gentoolkit:master commit in: / X-VCS-Repository: proj/gentoolkit X-VCS-Files: setup.py X-VCS-Directories: / X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: bbbde97b5e625a49a1a66e307931548cb33f260b X-VCS-Branch: master Date: Sun, 10 Jul 2022 18:41:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fbd516c5-f594-455c-812a-5014669e8ba9 X-Archives-Hash: 2b993cce522666fbe11be1b48a9487f1 commit: bbbde97b5e625a49a1a66e307931548cb33f260b Author: Brian Dolbec gentoo org> AuthorDate: Sun Jul 10 18:33:11 2022 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sun Jul 10 18:33:11 2022 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=bbbde97b setup.py: migrate to setuptools Signed-off-by: Brian Dolbec gentoo.org> setup.py | 8 ++++---- 1 file 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.",