Skip to content

Commit

Permalink
[router] Fix twine uploading (#3095)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronHsu authored Jan 24, 2025
1 parent 8d8ef84 commit 3ed0a54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-pypi-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions sgl-router/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3ed0a54

Please sign in to comment.