Skip to content

Commit

Permalink
[WIP] Switch from setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed May 13, 2024
1 parent 4898926 commit 7a3a2c6
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions src/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
try:
from importlib.metadata import get_distribution
except ImportError:
# Python < 3.7
from pkg_resources import get_distribution

import supybot.utils.python

version = get_distribution("limnoria").version
supybot.utils.python._debug_software_version = version

0 comments on commit 7a3a2c6

Please sign in to comment.