From 86979d44c90eec728a31cddf25c8ed67b401c91a Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Wed, 22 Feb 2023 22:58:12 -0800 Subject: [PATCH] install python --- .github/workflows/release.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3cc75621..99d27747 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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