Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(packaging): sdist 排除运行时二进制 (#447)
zhoujiahui1f1df6ea7ec2
diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.ymlindex 7ed6f9cbf..a5e4f6f01 100644--- a/.github/workflows/_build.yml+++ b/.github/workflows/_build.yml@@ -79,6 +79,9 @@ jobs:run: |git reset --hard HEADgit clean -fd+ # For sdist, ensure local runtime binaries are not packaged even if present+ rm -rf openviking/bin openviking/lib third_party/agfs/bin || true+ rm -f openviking/storage/vectordb/*.so openviking/storage/vectordb/*.dylib openviking/storage/vectordb/*.dll openviking/storage/vectordb/*.exe || truerm -rf openviking/_version.py openviking.egg-info# Ignore uv.lock changes to avoid dirty state in setuptools_scmgit update-index --assume-unchanged uv.lock || truediff --git a/MANIFEST.in b/MANIFEST.inindex deea70263..800d1691d 100644--- a/MANIFEST.in+++ b/MANIFEST.in@@ -11,6 +11,11 @@ include README.mdinclude pyproject.tomlinclude setup.pyrecursive-include openviking *.yaml++# sdist should be source-only: never ship runtime binaries from working tree+prune openviking/bin+prune openviking/lib+recursive-exclude openviking *.so *.dylib *.dll *.exeglobal-exclude *.py[cod]global-exclude __pycache__global-exclude .git*