Skip to content

Commit

Permalink
replaced pkg_resources.parse_version with packaging.version.Version d…
Browse files Browse the repository at this point in the history
…ue to deprecation
  • Loading branch information
velaia committed Feb 19, 2024
1 parent 17cec90 commit 61ea2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pkg_resources import parse_version
from packaging.version import Version
from configparser import ConfigParser
import setuptools,re,sys
assert parse_version(setuptools.__version__)>=parse_version('36.2')
assert Version(setuptools.__version__)>=Version('36.2')

# note: all settings are in settings.ini; edit there, not here
config = ConfigParser(delimiters=['='])
Expand Down

0 comments on commit 61ea2d1

Please sign in to comment.