Skip to content

Commit

Permalink
Migrate to setuptools. Bump version to 4.23
Browse files Browse the repository at this point in the history
Codename: Py2: Deader
  • Loading branch information
Lagg committed Feb 17, 2022
1 parent 2676e69 commit b40abc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion steam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Distributed under the ISC License (see LICENSE)
"""

__version__ = "4.22"
__version__ = "4.23"
__author__ = "Anthony Garcia"
__contact__ = "[email protected]"
__license__ = "ISC"
Expand Down

0 comments on commit b40abc9

Please sign in to comment.