Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (56 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (56 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[project]
name = "vollama"
version = "1.0.0"
description = "An accessible desktop chat client for LLMs, built with wxPython."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = "==3.14.*"
dependencies = [
"pillow",
"wxpython",
"accessible_output2",
"sounddevice",
"soundfile",
"appdirs",
"pywin32; sys_platform == 'win32'",
"pyobjc; sys_platform == 'darwin'",
"llama-index-core",
"llama-index-embeddings-openai-like",
"llama-index-readers-file",
"docx2txt",
"cryptography",
"openai",
"requests",
"tiktoken",
"MainContentExtractor",
"beautifulsoup4",
"trafilatura",
"EbookLib",
"html2text",
"transformers",
# tools/content.py imports it to check a written .yaml file; the check is
# skipped when the parser is missing, so it was never in requirements.txt.
"pyyaml",
]
# A GUI entry point, not a console one: on Windows pip builds this against
# pythonw, so typing `vollama` opens the window without a console behind it.
# `python VOLlama.py` is still the way to watch the log go by.
[project.gui-scripts]
vollama = "vollama.__main__:main"
[dependency-groups]
# What the tests and the build need, and nothing the program itself imports.
# uv sync installs it by default; uv sync --no-dev leaves it out.
#
# PyInstaller is the published wheel, which is what almost everyone should
# build with: compiling a bootloader needs a C toolchain. build-pyinstaller
# replaces it with one built here, and the next uv sync puts this version back
# -- so re-run that script after a sync if you are using your own bootloader.
dev = [
"pytest",
"pyinstaller",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["vollama"]