-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.22 KB
/
pyproject.toml
File metadata and controls
64 lines (57 loc) · 1.22 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
62
63
64
[project]
name = "arcade-new-game"
version = "0.0.1"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12,<3.13"
dependencies = [
"arcade>=3.0.0",
]
[bumpver]
current_version = "0.0.1"
version_pattern = "MAJOR.MINOR[.PATCH]"
commit = true
tag = true
push = true
[bumpver.file_patterns]
"pyproject.toml" = [
'^version = "{version}"',
'^current_version = "{version}"',
]
"mygame/version.py" = [
'version = "{version}"',
]
[dependency-groups]
dev = [
"bumpver>=2024.1130",
"cx-freeze>=7.2.5",
"pyinstaller>=6.11.1",
"ruff>=0.7.4",
]
# Configuration for cx_freeze, used for Windows and Mac builds
[[tool.cxfreeze.executables]]
base = "gui"
icon = "mygame/resources/logo.ico"
script = "mygame/__main__.py"
target_name = "MyGame"
shortcut_name = "MyGame"
shortcut_dir = "MyProgramMenu"
[tool.cxfreeze.build_exe]
excludes = [
"tkinter",
"unittest",
"pytest",
"arcade.resources.assets",
"arcade.examples",
"setuptools",
"numpy",
"email",
"imgui_bundle"
]
build_exe = "build/exe"
[tool.cxfreeze.bdist_mac]
bundle_name = "MyGame"
iconfile = "mygame/resources/logo.ico"
[tool.cxfreeze.bdist_dmg]
volume_label = "MyGame"
applications_shortcut = true