Skip to content

Commit

Permalink
Merge pull request #9 from vladsavelyev/py312
Browse files Browse the repository at this point in the history
Support python 3.12: remove `pkg_resources` dependency
  • Loading branch information
alneberg authored Feb 28, 2024
2 parents 2861f51 + 449a565 commit 8b2121d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions multiqc_ngi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

from pkg_resources import get_distribution
from importlib.metadata import version
from multiqc.utils import config

__version__ = get_distribution("multiqc_ngi").version
__version__ = version("multiqc_ngi")
config.multiqc_ngi_version = __version__
5 changes: 3 additions & 2 deletions multiqc_ngi/multiqc_ngi.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
import subprocess
import yaml

from pkg_resources import get_distribution
__version__ = get_distribution("multiqc_ngi").version
from importlib.metadata import version

__version__ = version("multiqc_ngi")

from multiqc.utils import report, util_functions, config

Expand Down

0 comments on commit 8b2121d

Please sign in to comment.