update setup file

This commit is contained in:
Yunnglin
2025-11-11 13:06:22 +08:00
parent a0ef35b583
commit bb3768cabb
4 changed files with 15 additions and 9 deletions

View File

@@ -24,8 +24,7 @@ jobs:
- name: Build ModelScope
# Build AST template before packaging
run: |
python -c "from modelscope.utils.ast_utils import generate_ast_template; generate_ast_template()"
python setup.py sdist bdist_wheel
make whl
- name: Publish package to PyPI
run: |
pip install twine