File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#
44# (c) 2008-2025 The Trustees of Columbia University in the City of New York.
55# All rights reserved.
6+ # (c) 2026-present The DiffPy Team. All rights reserved.
67#
7- # File coded by: Christopher Farrow, Pavol Juhas, and members of the
8- # Billinge Group .
8+ # File coded by: Christopher Farrow, Pavol Juhas, Caden Myers,
9+ # Simon J. L. Billinge, and members of the DiffPy community .
910#
1011# See GitHub contributions for a more detailed list of contributors.
1112# https://github.com/diffpy/diffpy.srfit/graphs/contributors
1920# __all__ = ["__date__", "__git_commit__", "__timestamp__", "__version__"]
2021
2122# obtain version information
22- from importlib .metadata import version
23+ from importlib .metadata import PackageNotFoundError , version
2324
24- __version__ = version ("diffpy.srfit" )
25-
26- # End of file
25+ try :
26+ __version__ = version ("diffpy.srfit" )
27+ except PackageNotFoundError :
28+ __version__ = "unknown"
You can’t perform that action at this time.
0 commit comments