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
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y dpkg-dev build-essential
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements-min.txt
|
||||
pip install -e .
|
||||
sudo apt-get install -y dpkg-dev build-essential python3-setuptools
|
||||
python3 -m pip install --upgrade pip
|
||||
pip3 install -r requirements-min.txt
|
||||
pip3 install -e .
|
||||
- name: Build Debian package
|
||||
env:
|
||||
G4F_VERSION: ${{ needs.prepare.outputs.version }}
|
||||
|
|
|
|||
|
|
@ -6,11 +6,6 @@ from typing import Union, Optional, Coroutine
|
|||
|
||||
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 .client import Client, AsyncClient
|
||||
from .typing import Messages, CreateResult, AsyncResult, ImageType
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ Version=1.0
|
|||
Type=Application
|
||||
Name=g4f
|
||||
Comment=${DESCRIPTION}
|
||||
Exec=/usr/bin/g4f gui
|
||||
Exec=/usr/bin/g4f
|
||||
Icon=application-x-executable
|
||||
Terminal=false
|
||||
Categories=Development;Network;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue