Skip to content

Commit

Permalink
Fix: deprecation of pkg_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
cbespin committed Oct 9, 2024
1 parent 9711935 commit 372c6ad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tjmonopix2/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@
# ------------------------------------------------------------
#

import os
import pkg_resources
import collections

import os
from copy import deepcopy
from importlib.metadata import version

import pkg_resources
import tables as tb


VERSION = pkg_resources.get_distribution("tjmonopix2").version
VERSION = version('tj-monopix2-daq')


def recursive_update(first, second={}):
Expand Down

0 comments on commit 372c6ad

Please sign in to comment.