File tree Expand file tree Collapse file tree 3 files changed +4
-17
lines changed
Expand file tree Collapse file tree 3 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 3131 - name : Install dependencies
3232 run : |
3333 python -m pip install --upgrade pip
34- pip install setuptools wheel twine pyinstaller~=6.18 build
34+ pip install twine pyinstaller~=6.18 build
3535
3636 - name : Setup
3737 run : |
4141
4242 - name : PyInstaller build
4343 run : |
44- built_path=Amulet-v${{ github.event.release.tag_name }}-$RUNNER_OS-${{ matrix.cfg.architecture }}.zip
45- echo "BUILT_PATH=$built_path" >> $GITHUB_ENV
4644 python -m PyInstaller -y Amulet.spec
47- cd dist
48- if [ "$RUNNER_OS" == "Windows" ]; then
49- 7z a $built_path Amulet
50- elif [ "$RUNNER_OS" == "macOS" ]; then
51- zip -r $built_path Amulet
52- else
53- echo "$RUNNER_OS not supported"
54- exit 1
55- fi
56- cd ..
5745
5846 - name : Publish to PyPi
5947 env :
6553 - name : Upload Release Asset
6654 uses : actions/upload-artifact@v4
6755 with :
68- name : ${{env.BUILT_PATH}}
69- path : ./dist/${{env.BUILT_PATH}}
56+ name : Amulet- ${{ github.event.release.tag_name }}-$RUNNER_OS-${{ matrix.cfg.architecture }}.zip
57+ path : ./dist/Amulet
Original file line number Diff line number Diff line change 11[build-system ]
22requires = [
33 " setuptools >= 42" ,
4- " wheel" ,
54 " cython >= 3.0.0a9" ,
65 " versioneer" ,
76 " numpy ~= 1.17"
Original file line number Diff line number Diff line change 11from typing import List , Tuple
22from setuptools import setup , find_packages
3- from wheel .bdist_wheel import bdist_wheel
3+ from setuptools . command .bdist_wheel import bdist_wheel
44from Cython .Build import cythonize
55import glob
66import sys
You can’t perform that action at this time.
0 commit comments