Skip to content

Commit

Permalink
Import from setuptools.command.bdist_wheel which now contains functio…
Browse files Browse the repository at this point in the history
…ns from wheel.bdist_wheel
  • Loading branch information
nightlark committed Feb 3, 2025
1 parent 11294fd commit 7e6d662
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/libclang-alpine-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: get llvm-project
run: |
wget -q https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VER/llvm-project-$LLVM_VER.src.tar.xz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: get llvm-project
run: |
wget -q https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VER/llvm-project-$LLVM_VER.src.tar.xz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-linux-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: get llvm-project
run: |
wget -q https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VER/llvm-project-$LLVM_VER.src.tar.xz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-linux-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: get llvm-project
run: |
wget -q https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VER/llvm-project-$LLVM_VER.src.tar.xz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-macosx-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: install gnu-tar
run: |
brew install gnu-tar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-macosx-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: install gnu-tar
run: |
brew install gnu-tar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-windows-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: get llvm-project
run: |
choco install wget git
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-windows-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install wheel dependencies
- name: install setuptools dependencies
run: |
pip3 install wheel
pip3 install -U setuptools==75.8.0
- name: get llvm-project
run: |
choco install wget git
Expand Down
2 changes: 1 addition & 1 deletion setup_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from distutils.dir_util import mkpath
from setuptools import setup, find_packages, Extension
from setuptools.command.build_ext import build_ext
from wheel.bdist_wheel import get_platform, bdist_wheel
from setuptools.command.bdist_wheel import get_platform, bdist_wheel


def platform_ext(plat):
Expand Down

0 comments on commit 7e6d662

Please sign in to comment.