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
|
- name: Install Python
|
||||||
run: |
|
run: |
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
dnf update
|
dnf update -y
|
||||||
- name: Install and Package
|
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: |
|
run: |
|
||||||
python --version
|
python3.10 -m pip install --upgrade pip
|
||||||
python3 --version
|
python3.10 -m install -e .[build]
|
||||||
pip install -e .[build]
|
|
||||||
# Build executable
|
# Build executable
|
||||||
pyinstaller ytdl-sub.spec
|
pyinstaller ytdl-sub.spec
|
||||||
mkdir -p /opt/builds
|
mkdir -p /opt/builds
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue