Skip to content

Commit

Permalink
use 'packaging' package in favour of deprecated 'pkg_resources' packa…
Browse files Browse the repository at this point in the history
…ge from setuptools
  • Loading branch information
clickot committed Jul 18, 2024
1 parent a44f2aa commit cf17885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utilities/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Markdown
setuptools
packaging
requests
2 changes: 1 addition & 1 deletion utilities/site_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import sys

import markdown # Python-Markdown: https://github.com/waylan/Python-Markdown
from pkg_resources.extern.packaging.version import Version as VersionSortKey
from packaging.version import Version as VersionSortKey

if __name__ == "__main__" and (__package__ is None or __package__ == ""):

Expand Down

0 comments on commit cf17885

Please sign in to comment.