umap/umap/__init__.py
2021-12-30 11:16:00 +01:00

7 lines
178 B
Python

try:
import pkg_resources
except ImportError: # pragma: no cover
pass
else:
if __package__:
VERSION = pkg_resources.get_distribution("umap-project").version