This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (68 loc) · 2.09 KB
/
pyproject.toml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "plutonium_launcher_tui"
dynamic = ["version"]
description = ""
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
keywords = []
authors = [
{ name = "Mythical", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"textual @ git+https://github.com/Textualize/textual@9986e51838b53f4b2ee380bd1d34893f64d3cae7",
"tomlkit",
"pygetwindow",
"textual-spinbox @ git+https://github.com/friscorose/textual-spinbox"
]
[project.urls]
Documentation = "https://github.com/Mythical-Github/plutonium_launcher_tui/blob/main/README.md"
Issues = "https://github.com/Mythical-Github/plutonium_launcher_tui/issues"
Source = "https://github.com/Mythical-Github/plutonium_launcher_tui"
[project.scripts]
plutonium_launcher_tui = "plutonium_launcher_tui.__main__:main"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/plutonium_launcher_tui/_version.py"
[tool.hatch.env]
requires = ["hatch-pip-compile"]
[tool.hatch.envs.default]
type = "pip-compile"
path = ".venv"
pip-compile-resolver = "uv"
pip-compile-installer = "uv"
[tool.hatch.envs.build]
template = "build"
installer = "uv"
dependencies = [
"pyinstaller",
]
[tool.hatch.envs.build.scripts]
exe = [
"pyinstaller --noconfirm --onefile --console --name plutonium_launcher_tui --icon=assets/images/icons/project_main_icon.ico src/plutonium_launcher_tui/__main__.py"
]
[tool.hatch.envs.scripts]
template = "scripts"
detached = true
installer = "uv"
[tool.hatch.envs.scripts.scripts]
clean = "git clean -d -X --force"
refresh-deps = [
"hatch env remove default",
"python -c \"import os; os.remove('requirements.txt')\"",
"hatch env create default",
]