From b53d9e11c645c61492c0e04a930d4c4da7904cc6 Mon Sep 17 00:00:00 2001 From: Simo Lin Date: Wed, 29 Oct 2025 10:05:00 -0700 Subject: [PATCH] [bug] fix router pypi license file (#12345) --- .github/workflows/nightly-release-router.yml | 3 +-- .github/workflows/release-pypi-router.yml | 3 +-- sgl-router/MANIFEST.in | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly-release-router.yml b/.github/workflows/nightly-release-router.yml index 4d12dd790..af98af785 100644 --- a/.github/workflows/nightly-release-router.yml +++ b/.github/workflows/nightly-release-router.yml @@ -137,10 +137,9 @@ jobs: with: path: sglang-repo - - name: Move sgl-router folder to root, copy the license file, and delete sglang-repo + - name: Move sgl-router folder to root and delete sglang-repo run: | mv sglang-repo/sgl-router/* . - mv sglang-repo/LICENSE . rm -rf sglang-repo ls -alt diff --git a/.github/workflows/release-pypi-router.yml b/.github/workflows/release-pypi-router.yml index 32795daec..7bd615cb9 100644 --- a/.github/workflows/release-pypi-router.yml +++ b/.github/workflows/release-pypi-router.yml @@ -122,10 +122,9 @@ jobs: with: path: sglang-repo - - name: Move sgl-router folder to root, copy the license file, and delete sglang-repo + - name: Move sgl-router folder to root and delete sglang-repo run: | mv sglang-repo/sgl-router/* . - mv sglang-repo/LICENSE . rm -rf sglang-repo ls -alt diff --git a/sgl-router/MANIFEST.in b/sgl-router/MANIFEST.in index 7f872d5a2..460524b50 100644 --- a/sgl-router/MANIFEST.in +++ b/sgl-router/MANIFEST.in @@ -1,6 +1,7 @@ # Must include: include Cargo.toml # Rust project configuration include build.rs # Build script for protobuf generation +include ../LICENSE recursive-include src *.rs # Rust source files recursive-include src/proto *.proto # Protobuf definitions recursive-include py_src *.py # Python source files