Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

feat: Store package version in py file (#254)

Deshraj Yadavb41fa6fdc488
diff --git a/embedchain/version.py b/embedchain/version.py
new file mode 100644
index 000000000..c35625a53
--- /dev/null
+++ b/embedchain/version.py
@@ -0,0 +1 @@
+__version__ = "0.0.21"
diff --git a/setup.py b/setup.py
index cab69f75b..686550b09 100644
--- a/setup.py
+++ b/setup.py
@@ -1,11 +1,14 @@
import setuptools
+import embedchain.version
+
+
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="embedchain",
- version="0.0.21",
+ version=embedchain.version.__version__,
author="Taranjeet Singh",
author_email="[email protected]",
description="embedchain is a framework to easily create LLM powered bots over any dataset", # noqa:E501