From b40abc9a4b2a47a69b0e12eb739189f186eedafc Mon Sep 17 00:00:00 2001 From: Anthony Garcia Date: Thu, 17 Feb 2022 11:40:12 -0800 Subject: [PATCH] Migrate to setuptools. Bump version to 4.23 Codename: Py2: Deader --- setup.py | 6 +++--- steam/__init__.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index cc6dd69..2aa68e7 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ Distributed under the ISC License (see LICENSE) """ -from distutils.core import setup, Command -from distutils.errors import DistutilsOptionError +from setuptools import setup, Command +from setuptools.errors import OptionError from unittest import TestLoader, TextTestRunner import sys import steam @@ -24,7 +24,7 @@ def initialize_options(self): def finalize_options(self): if not self.key: - raise DistutilsOptionError("API key is required") + raise OptionError("API key is required") else: steam.api.key.set(self.key) diff --git a/steam/__init__.py b/steam/__init__.py index bf1cf77..a587ccd 100644 --- a/steam/__init__.py +++ b/steam/__init__.py @@ -4,7 +4,7 @@ Distributed under the ISC License (see LICENSE) """ -__version__ = "4.22" +__version__ = "4.23" __author__ = "Anthony Garcia" __contact__ = "anthony@lagg.me" __license__ = "ISC"