Skip to content

Commit

Permalink
feat: Update Termux installation options and requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed May 9, 2024
1 parent bd7f835 commit 2ca4020
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,4 +565,10 @@ For instance:
**What's new?**

- feat: Extra installation requirement for Termux - `pip install python-tgpt[termux]`
- fix: Limit g4f requirement for binaries to **v0.2.6.1**
- fix: Limit g4f requirement for binaries to **v0.2.6.1**

## v0.7.3

**What's new?**
- feat: Termux extra installation options : `termux-cli`, `termux-api` and `termux-all`
23 changes: 23 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,29 @@ Alternatively, you can install non-binaries. *(Recommended)*

> `pip install -U "python-tgt[api]"` will install REST API dependencies.

#### Termux extras

1. Developers:

```sh
pip install --upgrade "python-tgpt[termux]"
```

2. Commandline:

```sh
pip install --upgrade "python-tgpt[termux-cli]"
```

3. Full installation:

```sh
pip install --upgrade "python-tgpt[termux-all]"
```

> `pip install -U "python-tgt[termux-api]"` will install REST API dependencies


## Usage

This package offers a convenient command-line interface.
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@

EXTRA_REQUIRE = {
"termux": termux,
"termux-cli": termux + cli_reqs,
"termux-api": termux + api,
"termux-all": termux + cli_reqs + api,
"cli": cli_reqs,
"api": api,
"all": ["g4f[all]>=0.2.6.1", "matplotlib", "gpt4all==2.2.0"] + cli_reqs + api,
Expand Down

0 comments on commit 2ca4020

Please sign in to comment.