mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Update build-packages.yml
This commit is contained in:
parent
537dd8a572
commit
bb8b7999a0
3 changed files with 5 additions and 10 deletions
8
.github/workflows/build-packages.yml
vendored
8
.github/workflows/build-packages.yml
vendored
|
|
@ -270,10 +270,10 @@ jobs:
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y dpkg-dev build-essential
|
sudo apt-get install -y dpkg-dev build-essential python3-setuptools
|
||||||
python -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip install -r requirements-min.txt
|
pip3 install -r requirements-min.txt
|
||||||
pip install -e .
|
pip3 install -e .
|
||||||
- name: Build Debian package
|
- name: Build Debian package
|
||||||
env:
|
env:
|
||||||
G4F_VERSION: ${{ needs.prepare.outputs.version }}
|
G4F_VERSION: ${{ needs.prepare.outputs.version }}
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,6 @@ from typing import Union, Optional, Coroutine
|
||||||
|
|
||||||
from . import debug, version
|
from . import debug, version
|
||||||
|
|
||||||
# Version info
|
|
||||||
try:
|
|
||||||
__version__ = version.utils.current_version or "0.0.0-dev"
|
|
||||||
except Exception:
|
|
||||||
__version__ = "0.0.0-dev"
|
|
||||||
from .models import Model
|
from .models import Model
|
||||||
from .client import Client, AsyncClient
|
from .client import Client, AsyncClient
|
||||||
from .typing import Messages, CreateResult, AsyncResult, ImageType
|
from .typing import Messages, CreateResult, AsyncResult, ImageType
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=g4f
|
Name=g4f
|
||||||
Comment=${DESCRIPTION}
|
Comment=${DESCRIPTION}
|
||||||
Exec=/usr/bin/g4f gui
|
Exec=/usr/bin/g4f
|
||||||
Icon=application-x-executable
|
Icon=application-x-executable
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Development;Network;
|
Categories=Development;Network;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue