Skip to content

armgit / storm

Public Imported from GitHub
0

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

Bump up python package version.

shaoyijiab07ce84179b8
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
new file mode 100644
index 0000000..fa4cf56
--- /dev/null
+++ b/.github/workflows/python-package.yml
@@ -0,0 +1,29 @@
+name: Build and upload Python package
+
+on:
+ workflow_dispatch: # Allows manual triggering of the workflow
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@master
+ - name: Set up Python 3.11
+ uses: actions/setup-python@v3
+ with:
+ python-version: "3.11"
+ - name: Install dependencies
+ run: python3 -m pip install setuptools wheel twine
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
+ - name: Build a binary wheel
+ run: python3 setup.py sdist bdist_wheel
+ - name: Publish package to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ user: __token__
+ password: ${{ secrets.PYPI_API_TOKEN }}
diff --git a/knowledge_storm/__init__.py b/knowledge_storm/__init__.py
index f1fd18e..27e2ec3 100644
--- a/knowledge_storm/__init__.py
+++ b/knowledge_storm/__init__.py
@@ -3,3 +3,5 @@ from .storm_wiki.engine import (
STORMWikiRunnerArguments,
STORMWikiRunner
)
+
+__version__ = "0.2.5"
diff --git a/setup.py b/setup.py
index b7835ab..3d11cbd 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ with open("requirements.txt", encoding="utf-8") as f:
setup(
name="knowledge-storm",
- version="0.2.4",
+ version="0.2.5",
author="Yijia Shao, Yucheng Jiang",
description="STORM: A language model-powered knowledge curation engine.",