We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8630f0 commit 05443deCopy full SHA for 05443de
diffpy/pdfmorph/version.py
@@ -18,9 +18,9 @@
18
19
20
# obtain version information
21
-from pkg_resources import get_distribution
+from importlib.metadata import version
22
23
-__version__ = get_distribution('diffpy.pdfmorph').version
+__version__ = version('diffpy.pdfmorph')
24
25
# we assume that tag_date was used and __version__ ends in YYYYMMDD
26
__date__ = __version__[-8:-4] + '-' + __version__[-4:-2] + '-' + __version__[-2:]
0 commit comments