[router] Fix twine uploading (#3095)

This commit is contained in:
Byron Hsu
2025-01-23 21:01:01 -08:00
committed by GitHub
parent 8d8ef8497e
commit 3ed0a547b2
2 changed files with 5 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ jobs:
- name: Build SDist
run: |
pip install build
python -m pip install -U packaging
python -m build --sdist
- uses: actions/upload-artifact@v4

View File

@@ -20,6 +20,10 @@ classifiers = [
[tool.setuptools.packages]
find = { where = ["py_src"] }
# workaround for https://github.com/pypa/twine/issues/1216
[tool.setuptools]
license-files = []
[[tool.setuptools-rust.ext-modules]]
target = "sglang_router_rs"
path = "Cargo.toml"