Skip to content

Commit

Permalink
docs(gui): add and update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
maugde committed Aug 1, 2024
1 parent 1f8f199 commit e49a7d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/development.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Development

This projet uses [Hatch](https://hatch.pypa.io/latest/) to manage the development environment.
This project uses [Hatch](https://hatch.pypa.io/latest/) to manage the development environment.

## Project setup

Expand Down Expand Up @@ -116,12 +116,18 @@ hatch clean

This command will remove the `dist` directory.

## Building the binary distribution
## Building the binary distributions

➢ To build the binary distribution, run:
➢ To build the binary distribution of the CLI version (linux only), run:

```shell
hatch run pyinstaller:build
hatch run pyinstaller:build_cli
```

➢ To build the binary distribution of the GUI version (windows only), run:

```shell
hatch run pyinstaller:build_gui
```

This command will run PyInstaller and generate a standalone executable in the `dist` directory.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ dependencies = [
"fastapi",
"pyinstaller",
"httpx",
"platformdirs",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
Expand Down

0 comments on commit e49a7d2

Please sign in to comment.