Skip to content

Commit

Permalink
Fix Sphinx configuration with Python 3.12
Browse files Browse the repository at this point in the history
Python 3.12 has removed 'pkg_resources' from the standard library:
https://docs.python.org/3/whatsnew/3.12.html.
  • Loading branch information
SkypLabs committed Nov 27, 2024
1 parent 6965c93 commit 792b70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# pylint: skip-file

from pkg_resources import get_distribution
from faker_wifi_essid import __version__ as VERSION


# -- Project information -----------------------------------------------------
Expand All @@ -26,7 +26,7 @@
author = 'Paul-Emmanuel Raoul'

# The full version, including alpha/beta/rc tags
release = get_distribution("faker_wifi_essid").version
release = VERSION


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 792b70e

Please sign in to comment.