[Feature] Add pyproject.toml (#1542)

* add pyproject.toml

* fix
This commit is contained in:
Yunlin Mao
2025-11-06 12:40:04 +08:00
committed by GitHub
parent 723599ac48
commit 2719e90528
7 changed files with 93 additions and 241 deletions

View File

@@ -22,7 +22,10 @@ jobs:
- name: Install wheel
run: pip install wheel && pip install -r requirements/framework.txt
- name: Build ModelScope
run: python setup.py sdist bdist_wheel
# 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
- name: Publish package to PyPI
run: |
pip install twine