File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22##############################################################################
33#
4- # (c) 2024 The Trustees of Columbia University in the City of New York.
4+ # (c) 2024-2025, The Trustees of Columbia University in the City of New York.
55# All rights reserved.
66#
7- # File coded by: Billinge Group members and community contributors.
7+ # (c) 2026-present, diffpy.labpdfproc developers and contributors.
8+ # All rights reserved.
9+ #
10+ # File coded by: Yucong Chen, Till Schertenleib, Caden Myers,
11+ # Billinge Group members.
812#
913# See GitHub contributions for a more detailed list of contributors.
1014# https://github.com/diffpy/diffpy.labpdfproc/graphs/contributors
1822# __all__ = ["__date__", "__git_commit__", "__timestamp__", "__version__"]
1923
2024# obtain version information
21- from importlib .metadata import version
22-
23- __version__ = version ("diffpy.labpdfproc" )
25+ from importlib .metadata import PackageNotFoundError , version
2426
25- # End of file
27+ try :
28+ __version__ = version ("diffpy.labpdfproc" )
29+ except PackageNotFoundError :
30+ __version__ = "unknown"
You can’t perform that action at this time.
0 commit comments