install python
This commit is contained in:
parent
ee1fe1418d
commit
86979d44c9
1 changed files with 13 additions and 5 deletions
18
.github/workflows/release.yaml
vendored
18
.github/workflows/release.yaml
vendored
|
|
@ -67,12 +67,20 @@ jobs:
|
|||
- name: Install Python
|
||||
run: |
|
||||
cat /etc/os-release
|
||||
dnf update
|
||||
- name: Install and Package
|
||||
dnf update -y
|
||||
dnf install -y epel-release
|
||||
dnf install -y gcc openssl-devel bzip2-devel libffi-devel zlib-devel wget make
|
||||
wget https://www.python.org/ftp/python/3.10.10/Python-3.10.10.tar.xz
|
||||
tar -xf Python-3.10.10.tar.xz
|
||||
cd Python-3.10.10 && ./configure --enable-optimizations
|
||||
make -j 2
|
||||
nproc
|
||||
make altinstall
|
||||
python3.10 --version
|
||||
- name: Build Package
|
||||
run: |
|
||||
python --version
|
||||
python3 --version
|
||||
pip install -e .[build]
|
||||
python3.10 -m pip install --upgrade pip
|
||||
python3.10 -m install -e .[build]
|
||||
# Build executable
|
||||
pyinstaller ytdl-sub.spec
|
||||
mkdir -p /opt/builds
|
||||
|
|
|
|||
Loading…
Reference in a new issue