mirror of
https://github.com/hwchase17/langchain
synced 2024-11-02 09:40:22 +00:00
10 lines
307 B
Python
10 lines
307 B
Python
|
"""Main entrypoint into package."""
|
||
|
from importlib import metadata
|
||
|
|
||
|
try:
|
||
|
__version__ = metadata.version(__package__)
|
||
|
except metadata.PackageNotFoundError:
|
||
|
# Case where package metadata is not available.
|
||
|
__version__ = ""
|
||
|
del metadata # optional, avoids polluting the results of dir(__package__)
|