File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 name : Python Wheel aarch64
2727 path : dist
2828
29- - name : Download Windows Python Package Artifacts
30- uses : actions/download-artifact@v4
31- with :
32- name : Python Wheel Windows
33- path : dist
34-
3529 - name : List dist directory
3630 run : ls -la dist/
3731
Original file line number Diff line number Diff line change 5959 runs-on : ${{ matrix.runner }}
6060
6161 container :
62- image : debian:11
62+ image : python:3.10-bullseye
6363 outputs :
6464 version : ${{ steps.version.outputs.version }}
6565 steps :
7171
7272 - name : Install OS Dependencies
7373 run : >-
74- apt-get install -y python3
75- python3-pip python3-venv patchelf build-essential m4 texinfo
74+ apt-get install -y patchelf build-essential m4 texinfo
7675
7776 - name : Create virtualenv
7877 run : >-
@@ -114,31 +113,3 @@ jobs:
114113 >>
115114 $GITHUB_OUTPUT
116115 id : version
117-
118- build-windows :
119- name : Build Python Wheel (Windows)
120- runs-on : windows-latest
121- steps :
122- - uses : actions/checkout@master
123-
124- - name : Set up Python
125- uses : actions/setup-python@v4
126- with :
127- python-version : ' 3.10'
128-
129- - name : Install Python Dependencies
130- run : |
131- pip install build wheel setuptools pkginfo
132-
133- - name : Build Wheel
134- run : |
135- ${{ inputs.cmd }}
136- shell : bash
137-
138- - name : Python Build Artifact
139- uses : actions/upload-artifact@v4
140- if : always()
141- with :
142- name : Python Wheel Windows
143- path : dist/*.whl
144- retention-days : 5
Original file line number Diff line number Diff line change @@ -12,14 +12,11 @@ def plat_name():
1212 return f"manylinux_{ GLIBC_VERSION .replace ('.' , '_' )} _{ platform .machine ()} "
1313
1414
15- options = {
16- "bdist_wheel" : {
17- "python_tag" : "py3" ,
15+ setup (
16+ options = {
17+ "bdist_wheel" : {
18+ "plat_name" : f"{ plat_name ()} " ,
19+ "python_tag" : "py3" ,
20+ }
1821 }
19- }
20-
21- if platform .system () == "Linux" :
22- options ["bdist_wheel" ]["plat_name" ] = plat_name ()
23-
24-
25- setup (options = options )
22+ )
You can’t perform that action at this time.
0 commit comments