[router] Fix twine uploading (#3095)
This commit is contained in:
1
.github/workflows/release-pypi-router.yml
vendored
1
.github/workflows/release-pypi-router.yml
vendored
@@ -84,6 +84,7 @@ jobs:
|
|||||||
- name: Build SDist
|
- name: Build SDist
|
||||||
run: |
|
run: |
|
||||||
pip install build
|
pip install build
|
||||||
|
python -m pip install -U packaging
|
||||||
python -m build --sdist
|
python -m build --sdist
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ classifiers = [
|
|||||||
[tool.setuptools.packages]
|
[tool.setuptools.packages]
|
||||||
find = { where = ["py_src"] }
|
find = { where = ["py_src"] }
|
||||||
|
|
||||||
|
# workaround for https://github.com/pypa/twine/issues/1216
|
||||||
|
[tool.setuptools]
|
||||||
|
license-files = []
|
||||||
|
|
||||||
[[tool.setuptools-rust.ext-modules]]
|
[[tool.setuptools-rust.ext-modules]]
|
||||||
target = "sglang_router_rs"
|
target = "sglang_router_rs"
|
||||||
path = "Cargo.toml"
|
path = "Cargo.toml"
|
||||||
|
|||||||
Reference in New Issue
Block a user