Skip to content

Commit

Permalink
install importlib-metadata for python build
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Apr 10, 2024
1 parent b0630c4 commit b5275bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: install-deps
run: |
python -m pip install --upgrade pip
pip install pytest setuptools wheel twine
pip install pytest setuptools wheel twine importlib-metadata
- name: build
if: matrix.os == 'ubuntu-latest'
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ requires = [
"wheel",
"ninja; sys_platform != 'win32'",
"cmake>=3.12",
"importlib-metadata",
]
build-backend = "setuptools.build_meta"

0 comments on commit b5275bf

Please sign in to comment.